about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2021-06-28 19:22:22 +0200
committerMichael Vetter <jubalh@iodoru.org>2021-06-28 19:22:22 +0200
commit7db8f6f5a4f2964b9ebbb978e16564d72ae6cec9 (patch)
treedd08811b21c6a87e36f9dad01306e120ea672fad
parenta4230603d3ae5ed52506b097a23d9f4f8a984107 (diff)
downloadprofani-tty-7db8f6f5a4f2964b9ebbb978e16564d72ae6cec9.tar.gz
Disable notifications by default
Since I didn't find a way to discover whether a notification server is
running I decided to disable them by default. So people without one will
not have such a bad lag due to timeout from libnotify.

Fix https://github.com/profanity-im/profanity/issues/977
-rw-r--r--src/config/preferences.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/config/preferences.c b/src/config/preferences.c
index c930fccd..3e1ba585 100644
--- a/src/config/preferences.c
+++ b/src/config/preferences.c
@@ -2213,14 +2213,6 @@ _get_default_boolean(preference_t pref)
     case PREF_AUTOAWAY_CHECK:
     case PREF_LOG_ROTATE:
     case PREF_LOG_SHARED:
-    case PREF_NOTIFY_CHAT:
-    case PREF_NOTIFY_CHAT_CURRENT:
-    case PREF_NOTIFY_ROOM:
-    case PREF_NOTIFY_ROOM_CURRENT:
-    case PREF_NOTIFY_TYPING:
-    case PREF_NOTIFY_TYPING_CURRENT:
-    case PREF_NOTIFY_SUB:
-    case PREF_NOTIFY_INVITE:
     case PREF_SPLASH:
     case PREF_OCCUPANTS:
     case PREF_MUC_PRIVILEGES:
@@ -2241,7 +2233,6 @@ _get_default_boolean(preference_t pref)
     case PREF_ROSTER_ROOMS_SERVER:
     case PREF_TLS_SHOW:
     case PREF_LASTACTIVITY:
-    case PREF_NOTIFY_MENTION_WHOLE_WORD:
     case PREF_TRAY_READ:
     case PREF_BOOKMARK_INVITE:
     case PREF_ROOM_LIST_CACHE: