diff options
author | James Booth <boothj5@gmail.com> | 2016-01-24 23:06:22 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2016-01-24 23:06:22 +0000 |
commit | 5ff9fbd81091f09222235542f2cf2a707df54f7a (patch) | |
tree | 2352a2c27ed9c9af9228d656d23f083b688ee859 /src/config/preferences.h | |
parent | d63910ffc898f85da3e3be8ecc47d1aba1e9915f (diff) | |
download | profani-tty-5ff9fbd81091f09222235542f2cf2a707df54f7a.tar.gz |
Tidy handling room mention and room triggers
Diffstat (limited to 'src/config/preferences.h')
-rw-r--r-- | src/config/preferences.h | 5 |
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); |