diff options
author | James Booth <boothj5@gmail.com> | 2014-05-24 15:54:10 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-05-24 15:54:10 +0100 |
commit | 7d90d218c0858ce278c8223fe72c455e3f950732 (patch) | |
tree | 87dee443e5afd20f8b34a12d54b29e1facd33cf3 /src/config | |
parent | 663a22fb7e3d30255e73aeb220b1157cc35788f6 (diff) | |
download | profani-tty-7d90d218c0858ce278c8223fe72c455e3f950732.tar.gz |
Split regular and chat room notify settings
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/preferences.c | 3 | ||||
-rw-r--r-- | src/config/preferences.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/config/preferences.c b/src/config/preferences.c index 5ba7d1dc..61ae6edb 100644 --- a/src/config/preferences.c +++ b/src/config/preferences.c @@ -401,6 +401,7 @@ _get_group(preference_t pref) return PREF_GROUP_CHATSTATES; case PREF_NOTIFY_TYPING: case PREF_NOTIFY_MESSAGE: + case PREF_NOTIFY_ROOM: case PREF_NOTIFY_INVITE: case PREF_NOTIFY_SUB: return PREF_GROUP_NOTIFICATIONS; @@ -463,6 +464,8 @@ _get_key(preference_t pref) return "typing"; case PREF_NOTIFY_MESSAGE: return "message"; + case PREF_NOTIFY_ROOM: + return "room"; case PREF_NOTIFY_INVITE: return "invite"; case PREF_NOTIFY_SUB: diff --git a/src/config/preferences.h b/src/config/preferences.h index fb11d873..952b5bb7 100644 --- a/src/config/preferences.h +++ b/src/config/preferences.h @@ -53,6 +53,7 @@ typedef enum { PREF_OUTTYPE, PREF_NOTIFY_TYPING, PREF_NOTIFY_MESSAGE, + PREF_NOTIFY_ROOM, PREF_NOTIFY_INVITE, PREF_NOTIFY_SUB, PREF_CHLOG, |