mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-06 17:05:10 +00:00
@@ -133,7 +133,10 @@
|
||||
try {
|
||||
if (nextMessage) {
|
||||
state.go('mail.account.mailbox.message', { messageId: nextMessage.uid });
|
||||
mailbox.$topIndex = nextIndex;
|
||||
if (nextIndex < mailbox.$topIndex)
|
||||
mailbox.$topIndex = nextIndex;
|
||||
else if (nextIndex > mailbox.$lastVisibleIndex)
|
||||
mailbox.$topIndex = nextIndex - (mailbox.$lastVisibleIndex - mailbox.$topIndex);
|
||||
}
|
||||
else {
|
||||
state.go('mail.account.mailbox');
|
||||
|
||||
Reference in New Issue
Block a user