Remove extra log (#6190)

Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
Kristina 2024-07-30 22:04:54 +04:00 committed by GitHub
parent 1f76cd6c6b
commit 3969fb0dd8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -515,7 +515,6 @@ async function hideOldActivityChannels (
const { lastUpdateTimestamp = 0, lastViewedTimestamp = 0 } = context const { lastUpdateTimestamp = 0, lastViewedTimestamp = 0 } = context
if (lastUpdateTimestamp > lastViewedTimestamp) continue if (lastUpdateTimestamp > lastViewedTimestamp) continue
console.log({ diff: date - lastUpdateTimestamp, delay: hideChannelDelay })
if (date - lastUpdateTimestamp < hideChannelDelay) continue if (date - lastUpdateTimestamp < hideChannelDelay) continue
const params = hierarchy.as(context, chunter.mixin.ChannelInfo) const params = hierarchy.as(context, chunter.mixin.ChannelInfo)