diff --git a/Telegram/SourceFiles/platform/linux/tray_linux.cpp b/Telegram/SourceFiles/platform/linux/tray_linux.cpp index 9753556c4c..ab1e34df8c 100644 --- a/Telegram/SourceFiles/platform/linux/tray_linux.cpp +++ b/Telegram/SourceFiles/platform/linux/tray_linux.cpp @@ -130,8 +130,9 @@ bool IconGraphic::isRefreshNeeded( return _trayIcon.isNull() || iconThemeName != _themeName || systemIcon.name() != _systemIcon.name() - || muted != _muted - || counterSlice(counter) != _count; + || (systemIcon.name() != PanelIconName(counter, muted) + ? muted != _muted || counterSlice(counter) != _count + : false); } void IconGraphic::updateIconRegenerationNeeded(