mirror of
https://github.com/vinliao/nashboard-old.git
synced 2025-12-17 04:35:15 +01:00
remove tweets with empty content
This commit is contained in:
@@ -48,7 +48,7 @@ export async function get() {
|
||||
|
||||
// sometimes event returns undefined...
|
||||
if (event) {
|
||||
if (event.created_at < Date.now() / 1000) {
|
||||
if (event.created_at < Date.now() / 1000 && event.content != "") {
|
||||
event.relay = relays[relayIndex];
|
||||
events.push(event);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user