mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 21:45:31 +09:00
refactor(app): drop the unread jump anchor now the scroller finds it (#1858)
This commit is contained in:
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)
|
||||
|
||||
Reference in new issue
Block a user