diff --git a/Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp b/Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp index 0fa06d3a1..b1478358d 100644 --- a/Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp +++ b/Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp @@ -119,17 +119,11 @@ void StartServiceAsync(Gio::DBusConnection connection, Fn callback) { std::string GetImageKey() { const auto &specVersion = CurrentServerInformation.specVersion; - if (specVersion.isNull()) { - LOG(("Native Notification Error: specification version is null")); - return {}; - } - if (specVersion >= QVersionNumber(1, 2)) { return "image-data"; } else if (specVersion == QVersionNumber(1, 1)) { return "image_data"; } - return "icon_data"; }