mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Received messages are not marked as read while scroll is at the top.
HistoryToEnd button is always shown if there are unread messages. HistoryToEnd button displayes unread messages count. New service message (HistoryCleared) is handled (not displayed at all).
This commit is contained in:
@@ -498,7 +498,7 @@ public:
|
||||
void historyLoaded();
|
||||
|
||||
void windowShown();
|
||||
bool isActive() const;
|
||||
bool doWeReadServerHistory() const;
|
||||
|
||||
void resizeEvent(QResizeEvent *e) override;
|
||||
void keyPressEvent(QKeyEvent *e) override;
|
||||
@@ -527,8 +527,9 @@ public:
|
||||
|
||||
void newUnreadMsg(History *history, HistoryItem *item);
|
||||
void historyToDown(History *history);
|
||||
void historyWasRead(bool force = true);
|
||||
void historyWasRead(ReadServerHistoryChecks checks);
|
||||
void historyCleared(History *history);
|
||||
void unreadCountChanged(History *history);
|
||||
|
||||
QRect historyRect() const;
|
||||
|
||||
|
Reference in New Issue
Block a user