mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-19 16:26:22 +00:00
Moved ui_current_page_off to ui_incoming_msg
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user