mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Refresh main message view for inactive accounts.
This commit is contained in:
@@ -1279,7 +1279,8 @@ rpl::producer<not_null<ViewElement*>> Session::viewResizeRequest() const {
|
||||
|
||||
void Session::requestItemViewRefresh(not_null<HistoryItem*> item) {
|
||||
if (const auto view = item->mainView()) {
|
||||
view->setPendingResize();
|
||||
notifyHistoryChangeDelayed(item->history());
|
||||
view->refreshInBlock();
|
||||
}
|
||||
_itemViewRefreshRequest.fire_copy(item);
|
||||
}
|
||||
|
Reference in New Issue
Block a user