diff --git a/Telegram/SourceFiles/platform/linux/main_window_linux.cpp b/Telegram/SourceFiles/platform/linux/main_window_linux.cpp index 2f3e54750..b3649b516 100644 --- a/Telegram/SourceFiles/platform/linux/main_window_linux.cpp +++ b/Telegram/SourceFiles/platform/linux/main_window_linux.cpp @@ -585,7 +585,7 @@ void MainWindow::onSNIOwnerChanged( } trayIcon = nullptr; - SNIAvailable = IsSNIAvailable(); + SNIAvailable = !newOwner.isEmpty(); const auto trayAvailable = SNIAvailable || QSystemTrayIcon::isSystemTrayAvailable();