mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 14:17:45 +00:00
Don't jump to unread from chat bottom (support).
This commit is contained in:
@@ -5033,6 +5033,9 @@ int HistoryWidget::countAutomaticScrollTop() {
|
|||||||
setMsgId(ShowAtUnreadMsgId);
|
setMsgId(ShowAtUnreadMsgId);
|
||||||
result = countInitialScrollTop();
|
result = countInitialScrollTop();
|
||||||
App::wnd()->checkHistoryActivation();
|
App::wnd()->checkHistoryActivation();
|
||||||
|
if (Auth().supportMode()) {
|
||||||
|
history->unsetFirstUnreadMessage();
|
||||||
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user