Fix messages in secret chats not showing notifications in Adium

Secret chat messages are always unread, do not set MESSAGE_DELAYED.
This commit is contained in:
mjentsch 2015-10-16 00:28:36 +02:00
parent 76e6c2a4ad
commit afa650cfc1

View file

@ -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;
}