mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-04-12 06:15:45 +02:00
Add a safeguard and a TODO to DM notification fix
This commit is contained in:
parent
fa8b4e1e7f
commit
2b8ca77c0d
@ -1499,13 +1499,16 @@
|
||||
}
|
||||
|
||||
if (unread.length > 0){
|
||||
unread.sort(TD.util.chirpReverseColumnSort);
|
||||
if (ensurePropertyExists(TD, "util", "chirpReverseColumnSort")){
|
||||
unread.sort(TD.util.chirpReverseColumnSort);
|
||||
}
|
||||
|
||||
for(let message of unread){
|
||||
onNewTweet(this, message);
|
||||
}
|
||||
|
||||
// TODO sound notifications are borked as well
|
||||
// TODO figure out what to do with missed notifications at startup
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user