mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 21:15:32 +09:00
fix(app): open channels at the unread boundary when the backlog exceeds one page (#1698)
This commit is contained in:
1 parent
3ff7189566
commit
97c29bf1fb
5 files changed
+113
-1
No files matched your search
@@ -3,6 +3,7 @@
|
||||
import Messages from '@app/features/messaging/state/MessagingMessages';
|
||||
import Navigation from '@app/features/navigation/state/Navigation';
|
||||
import {Logger} from '@app/features/platform/utils/AppLogger';
|
||||
import ReadStates from '@app/features/read_state/state/ReadStates';
|
||||
import Notification from '@app/features/ui/state/Notification';
|
||||
import {reaction} from 'mobx';
|
||||
|
||||
@@ -40,6 +41,7 @@ class NavigationSideEffects {
|
||||
guildId: guildId ?? undefined,
|
||||
channelId,
|
||||
messageId: messageId ?? undefined,
|
||||
unreadAnchor: ReadStates.getUnreadJumpAnchor(channelId),
|
||||
});
|
||||
Notification.handleChannelSelect({channelId});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user