mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-01 06:55:58 +00:00
Fix localtime-related slowmode errors.
This commit is contained in:
@@ -3821,9 +3821,7 @@ void MainWidget::feedUpdates(const MTPUpdates &updates, uint64 randomId) {
|
||||
sent.text,
|
||||
TextUtilities::EntitiesFromMTP(list.value_or_empty())
|
||||
}, d.vmedia());
|
||||
if (const auto channel = item->history()->peer->asChannel()) {
|
||||
channel->growSlowmodeLastMessage(d.vdate().v);
|
||||
}
|
||||
item->contributeToSlowmode(d.vdate().v);
|
||||
if (!wasAlready) {
|
||||
item->indexAsNewItem();
|
||||
}
|
||||
|
Reference in New Issue
Block a user