diff -Nru nheko-0.11.3.orig/src/notifications/Manager.h nheko-0.11.3/src/notifications/Manager.h
--- nheko-0.11.3.orig/src/notifications/Manager.h	2023-02-23 00:50:45.000000000 +0100
+++ nheko-0.11.3/src/notifications/Manager.h	2023-10-07 16:13:20.780369848 +0200
@@ -55,9 +55,7 @@
 #if defined(NHEKO_DBUS_SYS)
 public:
     void closeNotifications(QString roomId);
-#if defined(Q_OS_LINUX)
     void closeAllNotifications();
-#endif
 
 private:
     QDBusInterface dbus;