fix(app): open channels at the unread boundary when the backlog exceeds one page (#1698)

This commit is contained in:
Hampus authored and GitHub committed 2026-08-17 15:14:42 +02:00
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});
}