Added desktop notification option for subscription requests

closes #166
This commit is contained in:
James Booth
2013-04-27 23:46:49 +01:00
parent 04c6f2d7b0
commit 441422ddc8
6 changed files with 63 additions and 1 deletions

View File

@@ -300,6 +300,7 @@ _get_group(preference_t pref)
case PREF_NOTIFY_TYPING:
case PREF_NOTIFY_MESSAGE:
case PREF_NOTIFY_INVITE:
case PREF_NOTIFY_SUB:
return "notifications";
case PREF_CHLOG:
return "logging";
@@ -347,6 +348,8 @@ _get_key(preference_t pref)
return "message";
case PREF_NOTIFY_INVITE:
return "invite";
case PREF_NOTIFY_SUB:
return "sub";
case PREF_CHLOG:
return "chlog";
case PREF_AUTOAWAY_CHECK:

View File

@@ -51,6 +51,7 @@ typedef enum {
PREF_NOTIFY_TYPING,
PREF_NOTIFY_MESSAGE,
PREF_NOTIFY_INVITE,
PREF_NOTIFY_SUB,
PREF_CHLOG,
PREF_AUTOAWAY_CHECK,
PREF_AUTOAWAY_MODE,