From afa650cfc113db12007fb88dfa662703165b8e73 Mon Sep 17 00:00:00 2001 From: mjentsch Date: Fri, 16 Oct 2015 00:28:36 +0200 Subject: [PATCH] Fix messages in secret chats not showing notifications in Adium Secret chat messages are always unread, do not set MESSAGE_DELAYED. --- tgp-msg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tgp-msg.c b/tgp-msg.c index 3980d60..58686c9 100644 --- a/tgp-msg.c +++ b/tgp-msg.c @@ -509,7 +509,7 @@ static void tgp_msg_display (struct tgl_state *TLS, struct tgp_msg_loading *C) { flags |= PURPLE_MESSAGE_RECV; } - if (! (M->flags & TGLMF_UNREAD)) { + if (tgl_get_peer_type (M->to_id) != TGL_PEER_ENCR_CHAT && ! (M->flags & TGLMF_UNREAD)) { flags |= PURPLE_MESSAGE_DELAYED; }