about summary refs log tree commit diff stats
path: root/src/config/preferences.h
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-01-24 23:06:22 +0000
committerJames Booth <boothj5@gmail.com>2016-01-24 23:06:22 +0000
commit5ff9fbd81091f09222235542f2cf2a707df54f7a (patch)
tree2352a2c27ed9c9af9228d656d23f083b688ee859 /src/config/preferences.h
parentd63910ffc898f85da3e3be8ecc47d1aba1e9915f (diff)
downloadprofani-tty-5ff9fbd81091f09222235542f2cf2a707df54f7a.tar.gz
Tidy handling room mention and room triggers
Diffstat (limited to 'src/config/preferences.h')
-rw-r--r--src/config/preferences.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/config/preferences.h b/src/config/preferences.h
index 8c94a1e1..61ccbb11 100644
--- a/src/config/preferences.h
+++ b/src/config/preferences.h
@@ -225,8 +225,9 @@ void prefs_free_string(char *pref);
 void prefs_set_string(preference_t pref, char *value);
 
 gboolean prefs_do_chat_notify(gboolean current_win, const char *const message);
-gboolean prefs_do_room_notify(gboolean current_win, const char *const roomjid, const char *const nick, const char *const message);
-gboolean prefs_message_contains_trigger(const char *const message);
+gboolean prefs_do_room_notify(gboolean current_win, const char *const roomjid, const char *const nick,
+    const char *const message, gboolean mention, gboolean trigger_found);
+GList* prefs_message_get_triggers(const char *const message);
 
 void prefs_set_room_notify(const char *const roomjid, gboolean value);
 void prefs_set_room_notify_mention(const char *const roomjid, gboolean value);