X-Git-Url: https://git.0d.be/?p=empathy.git;a=blobdiff_plain;f=libempathy-gtk%2Fempathy-private-chat.c;h=0bcdd784494f21781306cd8a22b6d879350a3ca3;hp=2dd1ba7554dc31bf68673d5f92ae966a28955a0c;hb=04462d2c6fbcbde891ec2a0d10cec540110517c7;hpb=542c9b73402e30b9d07ae19055babf0eb767366b diff --git a/libempathy-gtk/empathy-private-chat.c b/libempathy-gtk/empathy-private-chat.c index 2dd1ba75..0bcdd784 100644 --- a/libempathy-gtk/empathy-private-chat.c +++ b/libempathy-gtk/empathy-private-chat.c @@ -223,7 +223,7 @@ private_chat_contact_presence_updated_cb (EmpathyContact *contact, empathy_contact_get_id (contact)); if (!empathy_contact_is_online (contact)) { - if (priv->is_online) { + if (priv->is_online && !EMPATHY_CHAT (chat)->block_events) { gchar *msg; msg = g_strdup_printf (_("%s went offline"), @@ -237,7 +237,7 @@ private_chat_contact_presence_updated_cb (EmpathyContact *contact, g_signal_emit_by_name (chat, "composing", FALSE); } else { - if (!priv->is_online) { + if (!priv->is_online && !EMPATHY_CHAT (chat)->block_events) { gchar *msg; msg = g_strdup_printf (_("%s has come online"),