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