mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Show slowmode button in chat.
This commit is contained in:
@@ -1636,6 +1636,11 @@ bool Session::checkEntitiesAndViewsUpdate(const MTPDmessage &data) {
|
||||
existing->updateForwardedInfo(data.vfwd_from());
|
||||
existing->setViewsCount(data.vviews().value_or(-1));
|
||||
existing->indexAsNewItem();
|
||||
if (const auto channel = existing->history()->peer->asChannel()) {
|
||||
if (existing->out()) {
|
||||
channel->growSlowmodeLastMessage(data.vdate().v);
|
||||
}
|
||||
}
|
||||
requestItemTextRefresh(existing);
|
||||
if (existing->mainView()) {
|
||||
App::checkSavedGif(existing);
|
||||
|
||||
Reference in New Issue
Block a user