@@ -0,0 +1,36 @@
1+From 39642c26fb08db515272c070c512ed477df0d228 Mon Sep 17 00:00:00 2001
2+From: Marcel Alexandru Nitan <nitan.marcel@protonmail.com>
3+Date: Thu, 16 Jun 2022 16:09:35 +0300
4+Subject: [PATCH] Disable cinny's notification sound
5+
6+This is controlled by the matrix push server now and not by cinny
7+---
8+ src/client/state/settings.js | 11 ++++++-----
9+ 1 file changed, 6 insertions(+), 5 deletions(-)
10+
11+diff --git a/src/client/state/settings.js b/src/client/state/settings.js
12+index 7454be3..71521a5 100644
13+--- a/src/client/state/settings.js
14++++ b/src/client/state/settings.js
15+@@ -136,12 +136,13 @@ class Settings extends EventEmitter {
16+ }
17+
18+ getIsNotificationSounds() {
19+- if (typeof this.isNotificationSounds === 'boolean') return this.isNotificationSounds;
20++ return false;
21++ // if (typeof this.isNotificationSounds === 'boolean') return this.isNotificationSounds;
22+
23+- const settings = getSettings();
24+- if (settings === null) return true;
25+- if (typeof settings.isNotificationSounds === 'undefined') return true;
26+- return settings.isNotificationSounds;
27++ // const settings = getSettings();
28++ // if (settings === null) return true;
29++ // if (typeof settings.isNotificationSounds === 'undefined') return true;
30++ // return settings.isNotificationSounds;
31+ }
32+
33+ setter(action) {
34+--
35+2.30.2
36+