1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-29 19:56:07 -04:00

Moved ui_current_page_off to ui_incoming_msg

This commit is contained in:
James Booth 2014-03-31 21:09:24 +01:00
parent b303bdd057
commit 3d768527c1
2 changed files with 2 additions and 3 deletions

View File

@ -225,7 +225,6 @@ handle_incoming_message(char *from, char *message, gboolean priv)
}
ui_incoming_msg(from, newmessage, NULL, priv);
ui_current_page_off();
if (prefs_get_boolean(PREF_CHLOG) && !priv) {
Jid *from_jid = jid_create(from);
@ -246,7 +245,6 @@ handle_incoming_message(char *from, char *message, gboolean priv)
otr_free_message(newmessage);
#else
ui_incoming_msg(from, message, NULL, priv);
ui_current_page_off();
if (prefs_get_boolean(PREF_CHLOG) && !priv) {
Jid *from_jid = jid_create(from);
@ -264,7 +262,6 @@ handle_delayed_message(char *from, char *message, GTimeVal tv_stamp,
gboolean priv)
{
ui_incoming_msg(from, message, &tv_stamp, priv);
ui_current_page_off();
if (prefs_get_boolean(PREF_CHLOG) && !priv) {
Jid *from_jid = jid_create(from);

View File

@ -297,6 +297,8 @@ _ui_incoming_msg(const char * const from, const char * const message,
notify_message(display_from, ui_index);
free(display_from);
ui_current_page_off();
}
static void