From 7db8f6f5a4f2964b9ebbb978e16564d72ae6cec9 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Mon, 28 Jun 2021 19:22:22 +0200 Subject: 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 --- src/config/preferences.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/config/preferences.c') 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: -- cgit 1.4.1-2-gfad0