diff --git a/Telegram/SourceFiles/platform/mac/notifications_manager_mac.mm b/Telegram/SourceFiles/platform/mac/notifications_manager_mac.mm index a7cc314de..44342054a 100644 --- a/Telegram/SourceFiles/platform/mac/notifications_manager_mac.mm +++ b/Telegram/SourceFiles/platform/mac/notifications_manager_mac.mm @@ -104,6 +104,10 @@ Manager *GetNativeManager() { return ManagerInstance.data(); } +bool Supported() { + return ManagerInstance.data() != nullptr; +} + void Finish() { ManagerInstance.clear(); }