about summary refs log tree commit diff stats
path: root/src/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/config')
-rw-r--r--src/config/preferences.c3
-rw-r--r--src/config/preferences.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/config/preferences.c b/src/config/preferences.c
index f80eae29..2b2c7191 100644
--- a/src/config/preferences.c
+++ b/src/config/preferences.c
@@ -1740,6 +1740,7 @@ _get_group(preference_t pref)
         case PREF_NOTIFY_MENTION_WHOLE_WORD:
         case PREF_TRAY:
         case PREF_TRAY_READ:
+        case PREF_ADV_NOTIFY_DISCO_OR_VERSION:
             return PREF_GROUP_NOTIFICATIONS;
         case PREF_CHLOG:
         case PREF_GRLOG:
@@ -1804,6 +1805,8 @@ _get_key(preference_t pref)
             return "tray";
         case PREF_TRAY_READ:
             return "tray.read";
+        case PREF_ADV_NOTIFY_DISCO_OR_VERSION:
+            return "adv.notify.discoversion";
         case PREF_INTYPE:
             return "intype";
         case PREF_HISTORY:
diff --git a/src/config/preferences.h b/src/config/preferences.h
index 3f21aee9..f0d49e60 100644
--- a/src/config/preferences.h
+++ b/src/config/preferences.h
@@ -57,6 +57,7 @@ typedef enum {
     PREF_FLASH,
     PREF_TRAY,
     PREF_TRAY_READ,
+    PREF_ADV_NOTIFY_DISCO_OR_VERSION,
     PREF_INTYPE,
     PREF_HISTORY,
     PREF_CARBONS,