Added notify triggers WIP

This commit is contained in:
James Booth
2015-11-23 23:43:53 +00:00
parent e8c0eeda8b
commit b79d77409f
5 changed files with 116 additions and 12 deletions

View File

@@ -1339,6 +1339,11 @@ cons_notify_setting(void)
else
cons_show("Messages text (/notify message) : OFF");
if (prefs_get_boolean(PREF_NOTIFY_MESSAGE_TRIGGER))
cons_show("Messages trigger (/notify message) : ON");
else
cons_show("Messages trigger (/notify message) : OFF");
char *room_setting = prefs_get_string(PREF_NOTIFY_ROOM);
if (g_strcmp0(room_setting, "on") == 0) {
cons_show ("Room messages (/notify room) : ON");
@@ -1359,6 +1364,11 @@ cons_notify_setting(void)
else
cons_show("Room text (/notify room) : OFF");
if (prefs_get_boolean(PREF_NOTIFY_ROOM_TRIGGER))
cons_show("Room trigger (/notify room) : ON");
else
cons_show("Room trigger (/notify room) : OFF");
if (prefs_get_boolean(PREF_NOTIFY_TYPING))
cons_show("Composing (/notify typing) : ON");
else