Update macos notification.
This commit is contained in:
@@ -30,7 +30,6 @@ NotificationsManager::postNotification(
|
|||||||
notif.title = roomName.toNSString();
|
notif.title = roomName.toNSString();
|
||||||
notif.subtitle = QString("%1 sent a message").arg(senderName).toNSString();
|
notif.subtitle = QString("%1 sent a message").arg(senderName).toNSString();
|
||||||
notif.informativeText = text.toNSString();
|
notif.informativeText = text.toNSString();
|
||||||
notif.soundName = NSUserNotificationDefaultSoundName;
|
|
||||||
|
|
||||||
[[NSUserNotificationCenter defaultUserNotificationCenter] deliverNotification: notif];
|
[[NSUserNotificationCenter defaultUserNotificationCenter] deliverNotification: notif];
|
||||||
[notif autorelease];
|
[notif autorelease];
|
||||||
|
|||||||
Reference in New Issue
Block a user