mirror of
https://github.com/coracle-social/coracle.git
synced 2024-09-18 19:23:40 +00:00
Fix annoying persistent chat notifications
This commit is contained in:
parent
57451f120a
commit
ede641fc15
@ -21,7 +21,7 @@
|
||||
const interval = setInterval(() => {
|
||||
// TODO notifications for channel messages
|
||||
if (room.type === 'npub') {
|
||||
const mostRecent = $mostRecentByPubkey[room.pubkey] || Infinity
|
||||
const mostRecent = $mostRecentByPubkey[room.pubkey] || 0
|
||||
const lastChecked = $lastCheckedByPubkey[room.pubkey] || 0
|
||||
|
||||
// Include a cut-off since we lose read receipts every log out
|
||||
|
Loading…
Reference in New Issue
Block a user