2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-05 00:46:08 +00:00

Support pinned messages bar in topics.

This commit is contained in:
John Preston
2022-10-28 09:19:27 +04:00
parent da1e784803
commit 8dc27339b4
40 changed files with 811 additions and 206 deletions

View File

@@ -657,9 +657,7 @@ void ForumTopic::setMuted(bool muted) {
const auto notify = state.unread || state.reaction;
const auto notifier = unreadStateChangeNotifier(notify);
Thread::setMuted(muted);
session().changes().topicUpdated(
this,
Data::TopicUpdate::Flag::Notifications);
session().changes().topicUpdated(this, UpdateFlag::Notifications);
}
not_null<HistoryView::SendActionPainter*> ForumTopic::sendActionPainter() {