mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-10-05 13:16:13 +00:00
Unified function to detect icon name on Linux
This commit is contained in:
@@ -200,7 +200,7 @@ NotificationData::NotificationData(
|
||||
|
||||
bool NotificationData::show() {
|
||||
const auto iconName = _imageKey.isEmpty() || !_hints.contains(_imageKey)
|
||||
? qsl("telegram")
|
||||
? GetIconName()
|
||||
: QString();
|
||||
|
||||
const QDBusReply<uint> notifyReply = _notificationInterface->call(
|
||||
|
Reference in New Issue
Block a user