2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-29 13:39:06 +00:00

Fix pinned message reset on message being sent.

Fixes #10304
This commit is contained in:
John Preston 2021-02-04 19:12:31 +04:00
parent 7cd626c9fd
commit a2187a1d2b

View File

@ -1632,6 +1632,8 @@ void HistoryWidget::fastShowAtEnd(not_null<History*> history) {
clearAllLoadRequests();
setMsgId(ShowAtUnreadMsgId);
_pinnedClickedId = FullMsgId();
_minPinnedId = std::nullopt;
if (_history->isReadyFor(_showAtMsgId)) {
historyLoaded();
} else {