mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Simplify GNotification actions
This commit is contained in:
@@ -212,11 +212,6 @@ void System::setManager(Fn<std::unique_ptr<Manager>()> create) {
|
||||
}
|
||||
}
|
||||
|
||||
Manager &System::manager() const {
|
||||
Expects(_manager != nullptr);
|
||||
return *_manager;
|
||||
}
|
||||
|
||||
Main::Session *System::findSession(uint64 sessionId) const {
|
||||
for (const auto &[index, account] : Core::App().domain().accounts()) {
|
||||
if (const auto session = account->maybeSession()) {
|
||||
|
Reference in New Issue
Block a user