mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Show slowmode button in chat.
This commit is contained in:
@@ -3826,6 +3826,9 @@ void MainWidget::feedUpdates(const MTPUpdates &updates, uint64 randomId) {
|
||||
TextUtilities::EntitiesFromMTP(list.value_or_empty())
|
||||
});
|
||||
item->updateSentMedia(d.vmedia());
|
||||
if (const auto channel = item->history()->peer->asChannel()) {
|
||||
channel->growSlowmodeLastMessage(d.vdate().v);
|
||||
}
|
||||
if (!wasAlready) {
|
||||
item->indexAsNewItem();
|
||||
}
|
||||
|
Reference in New Issue
Block a user