mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Use sound in native notifications on macOS.
This commit is contained in:
@@ -399,6 +399,7 @@ public:
|
||||
return ManagerType::Native;
|
||||
}
|
||||
|
||||
using NotificationSound = Media::Audio::LocalSound;
|
||||
struct NotificationInfo {
|
||||
not_null<PeerData*> peer;
|
||||
MsgId topicRootId = 0;
|
||||
@@ -406,7 +407,7 @@ public:
|
||||
QString title;
|
||||
QString subtitle;
|
||||
QString message;
|
||||
Fn<QString()> soundPath;
|
||||
Fn<NotificationSound()> sound;
|
||||
DisplayOptions options;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user