mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 13:35:42 +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
@@ -59,7 +59,7 @@ export const FluxerButtonContextMenu: React.FC<FluxerButtonContextMenuProps> = o
|
||||
const unreadGuildChannelIds: Array<string> = [];
|
||||
for (const guild of guilds) {
|
||||
for (const channel of Channels.getGuildChannels(guild.id)) {
|
||||
if (ReadStates.hasUnreadOrMentions(channel.id)) {
|
||||
if (ReadStates.isUnreadOrMentioned(channel.id)) {
|
||||
unreadGuildChannelIds.push(channel.id);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user