diff --git a/src/plugins/telegram/telegramplugin.cpp b/src/plugins/telegram/telegramplugin.cpp --- a/src/plugins/telegram/telegramplugin.cpp +++ b/src/plugins/telegram/telegramplugin.cpp @@ -55,7 +55,7 @@ void start() override { - for (const QString &desktopFile: {QStringLiteral("org.telegram.desktop.desktop"), QStringLiteral("telegramdesktop.desktop") }) { + for (const QString &desktopFile: {QStringLiteral("org.telegram.desktop.desktop"), QStringLiteral("telegramdesktop.desktop"), QStringLiteral("telegram-desktop.desktop") }) { const auto path = QStandardPaths::locate(QStandardPaths::ApplicationsLocation, desktopFile); if (!path.isEmpty()) { useDesktopFile(path); diff --git a/src/plugins/telegram/telegramplugin.json b/src/plugins/telegram/telegramplugin.json --- a/src/plugins/telegram/telegramplugin.json +++ b/src/plugins/telegram/telegramplugin.json @@ -133,7 +133,8 @@ "X-Purpose-Constraints": [ [ "application:org.telegram.desktop.desktop", - "application:telegramdesktop.desktop" + "application:telegramdesktop.desktop", + "application:telegram-desktop.desktop" ] ], "X-Purpose-PluginTypes": [