diff options
author | James Booth <boothj5@gmail.com> | 2015-11-01 19:39:36 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-11-01 19:39:36 +0000 |
commit | db4bcd3e6d6efa9bae1d85b327a9f0318177555f (patch) | |
tree | 00be271e744e64aa2d742666e70c248afda43487 /src/ui/core.c | |
parent | 7e386fbf005a9c990d288750c336db8e981eaee1 (diff) | |
download | profani-tty-db4bcd3e6d6efa9bae1d85b327a9f0318177555f.tar.gz |
Added xmlwin module
Diffstat (limited to 'src/ui/core.c')
-rw-r--r-- | src/ui/core.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/ui/core.c b/src/ui/core.c index f8c8b7c6..d50f1c3d 100644 --- a/src/ui/core.c +++ b/src/ui/core.c @@ -223,26 +223,6 @@ ui_load_colours(void) } void -ui_handle_stanza(const char *const msg) -{ - ProfXMLWin *xmlwin = wins_get_xmlconsole(); - if (!xmlwin) { - return; - } - - ProfWin *window = (ProfWin*)xmlwin; - if (g_str_has_prefix(msg, "SENT:")) { - win_print(window, '-', 0, NULL, 0, 0, "", "SENT:"); - win_print(window, '-', 0, NULL, 0, THEME_ONLINE, "", &msg[6]); - win_print(window, '-', 0, NULL, 0, THEME_ONLINE, "", ""); - } else if (g_str_has_prefix(msg, "RECV:")) { - win_print(window, '-', 0, NULL, 0, 0, "", "RECV:"); - win_print(window, '-', 0, NULL, 0, THEME_AWAY, "", &msg[6]); - win_print(window, '-', 0, NULL, 0, THEME_AWAY, "", ""); - } -} - -void ui_contact_online(char *barejid, Resource *resource, GDateTime *last_activity) { char *show_console = prefs_get_string(PREF_STATUSES_CONSOLE); |