summary refs log tree commit diff
path: root/src/notifications/ManagerMac.mm
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2023-05-29 15:23:08 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2023-05-29 20:15:43 +0200
commit0b9bbd39367f102e616d0c7c5b81eed02ffb3894 (patch)
tree31b0a104739831b1f528c1d49a23139dde9169da /src/notifications/ManagerMac.mm
parentFix duplicate notification category identifier (diff)
downloadnheko-0b9bbd39367f102e616d0c7c5b81eed02ffb3894.tar.xz
Enable sending notifications via the systemNotification signal on macOS
Diffstat (limited to 'src/notifications/ManagerMac.mm')
-rw-r--r--src/notifications/ManagerMac.mm8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/notifications/ManagerMac.mm b/src/notifications/ManagerMac.mm
index 0d6c7cb4..8578b675 100644
--- a/src/notifications/ManagerMac.mm
+++ b/src/notifications/ManagerMac.mm
@@ -61,11 +61,6 @@
 }
 @end
 
-NotificationsManager::NotificationsManager(QObject* parent)
-    : QObject(parent)
-{
-}
-
 void NotificationsManager::objCxxPostNotification(
     const QString& room_name,
     const QString& room_id,
@@ -73,9 +68,6 @@ void NotificationsManager::objCxxPostNotification(
     const QString& subtitle,
     const QString& informativeText,
     const QString& bodyImagePath,
-    const QString& respondStr,
-    const QString& sendStr,
-    const QString& placeholder,
     const bool enableSound)
 {
     // Request permissions for alerts (the generic type of notification), sound playback,