mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Support GNotification
It's used if there's a gtk notification daemon or application is running sandboxed without access to the freedesktop protocol. GNotification API is poor, but should feel native on environments using GNOME technologies.
This commit is contained in:
@@ -125,9 +125,9 @@ void System::setManager(std::unique_ptr<Manager> manager) {
|
||||
}
|
||||
}
|
||||
|
||||
ManagerType System::managerType() const {
|
||||
Manager &System::manager() const {
|
||||
Expects(_manager != nullptr);
|
||||
return _manager->type();
|
||||
return *_manager;
|
||||
}
|
||||
|
||||
Main::Session *System::findSession(uint64 sessionId) const {
|
||||
|
Reference in New Issue
Block a user