mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Update API scheme on layer 148: Notifications.
Support editing / respect notification settings for topics.
This commit is contained in:
@@ -567,9 +567,13 @@ void SessionNavigation::showPeerInfo(
|
||||
}
|
||||
|
||||
void SessionNavigation::showPeerInfo(
|
||||
not_null<History*> history,
|
||||
not_null<Data::Thread*> thread,
|
||||
const SectionShow ¶ms) {
|
||||
showPeerInfo(history->peer->id, params);
|
||||
if (const auto topic = thread->asTopic()) {
|
||||
showSection(std::make_shared<Info::Memento>(topic), params);
|
||||
} else {
|
||||
showPeerInfo(thread->peer()->id, params);
|
||||
}
|
||||
}
|
||||
|
||||
void SessionNavigation::showPeerHistory(
|
||||
|
||||
Reference in New Issue
Block a user