diff options
author | James Booth <boothj5@gmail.com> | 2015-11-28 00:15:53 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-11-28 00:15:53 +0000 |
commit | 60305de0d979bc09669ab1215d3642e2daa5f045 (patch) | |
tree | 8c5b23d0fde1c44f58540b1850ce65b31625906b /src/ui | |
parent | ff2b19e3f917e343ec4c8f8cd9f0cef3dc9ed94f (diff) | |
download | profani-tty-60305de0d979bc09669ab1215d3642e2daa5f045.tar.gz |
Added room specific notify settings
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/chatwin.c | 2 | ||||
-rw-r--r-- | src/ui/mucwin.c | 2 | ||||
-rw-r--r-- | src/ui/privwin.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/chatwin.c b/src/ui/chatwin.c index c8cee66b..84e4a40a 100644 --- a/src/ui/chatwin.c +++ b/src/ui/chatwin.c @@ -240,7 +240,7 @@ chatwin_incoming_msg(ProfChatWin *chatwin, const char *const resource, const cha char *display_name = roster_get_msg_display_name(chatwin->barejid, resource); gboolean is_current = wins_is_current(window); - gboolean notify = prefs_get_notify_chat(is_current, message); + gboolean notify = prefs_do_chat_notify(is_current, message); // currently viewing chat window with sender if (wins_is_current(window)) { diff --git a/src/ui/mucwin.c b/src/ui/mucwin.c index 82b74e1b..097e9589 100644 --- a/src/ui/mucwin.c +++ b/src/ui/mucwin.c @@ -375,7 +375,7 @@ mucwin_message(ProfMucWin *mucwin, const char *const nick, const char *const mes } gboolean is_current = wins_is_current(window); - gboolean notify = prefs_get_notify_room(is_current, my_nick, message); + gboolean notify = prefs_do_room_notify(is_current, mucwin->roomjid, my_nick, message); // currently in groupchat window if (wins_is_current(window)) { diff --git a/src/ui/privwin.c b/src/ui/privwin.c index 67bad379..06e89ce3 100644 --- a/src/ui/privwin.c +++ b/src/ui/privwin.c @@ -54,7 +54,7 @@ privwin_incoming_msg(ProfPrivateWin *privatewin, const char *const message, GDat char *display_from = get_nick_from_full_jid(privatewin->fulljid); gboolean is_current = wins_is_current(window); - gboolean notify = prefs_get_notify_chat(is_current, message); + gboolean notify = prefs_do_chat_notify(is_current, message); // currently viewing chat window with sender if (wins_is_current(window)) { |