about summary refs log tree commit diff stats
path: root/src/config
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-05-24 16:46:05 +0100
committerJames Booth <boothj5@gmail.com>2014-05-24 16:46:05 +0100
commit866d87af79b5fb02d49b60b9cc2298448f4b2fd4 (patch)
tree72aba2f139c3e2221bb6b2baa07808c3fa143ac8 /src/config
parent7d90d218c0858ce278c8223fe72c455e3f950732 (diff)
downloadprofani-tty-866d87af79b5fb02d49b60b9cc2298448f4b2fd4.tar.gz
Added /notify room mention setting
Diffstat (limited to 'src/config')
-rw-r--r--src/config/preferences.c1
-rw-r--r--src/config/preferences.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/config/preferences.c b/src/config/preferences.c
index 61ae6edb..900a68af 100644
--- a/src/config/preferences.c
+++ b/src/config/preferences.c
@@ -519,6 +519,7 @@ _get_default_string(preference_t pref)
     switch (pref)
     {
         case PREF_AUTOAWAY_MODE:
+        case PREF_NOTIFY_ROOM:
             return "off";
         case PREF_OTR_LOG:
             return "redact";
diff --git a/src/config/preferences.h b/src/config/preferences.h
index 952b5bb7..e5d54d8a 100644
--- a/src/config/preferences.h
+++ b/src/config/preferences.h
@@ -87,6 +87,7 @@ void prefs_set_gone(gint value);
 
 void prefs_set_notify_remind(gint period);
 gint prefs_get_notify_remind(void);
+
 void prefs_set_max_log_size(gint value);
 gint prefs_get_max_log_size(void);
 gint prefs_get_priority(void);