refactor(app): drop the unread jump anchor now the scroller finds it (#1858)

This commit is contained in:
Hampus authored and GitHub committed 2026-08-24 12:32:44 +02:00
1 parent af7469fa1f
commit 52781cfa2d
17 files changed
+148 -152

No files matched your search

@@ -123,7 +123,7 @@ function generateUnreadResults(
if (excludedIds.has(channelId) || additionalExcludedChannelIds.has(channelId)) {
return false;
}
return ReadStates.hasUnreadOrMentions(channelId);
return ReadStates.isUnreadOrMentioned(channelId);
})
.map((channelId) => Channels.getChannel(channelId))
.filter((channel): channel is Channel => channel != null)