Index: src/ChatPage.cpp
--- src/ChatPage.cpp.orig
+++ src/ChatPage.cpp
@@ -1664,7 +1664,7 @@ ChatPage::isRoomActive(const QString &room_id)
 void
 ChatPage::removeAllNotifications()
 {
-#if defined(Q_OS_LINUX)
+#if defined(Q_OS_UNIX) && !defined(Q_OS_MACOS)
     notificationsManager->closeAllNotifications();
 #endif
 }
