From 5217c282e2029cfd200fa7f63198bee4d36a7f3e Mon Sep 17 00:00:00 2001 From: Jaidyn Ann Date: Fri, 9 Jul 2021 11:53:16 -0500 Subject: [PATCH] (purple) Fix message receive --- protocols/purple/PurpleApp.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/protocols/purple/PurpleApp.cpp b/protocols/purple/PurpleApp.cpp index 5c39e16..6705c9a 100644 --- a/protocols/purple/PurpleApp.cpp +++ b/protocols/purple/PurpleApp.cpp @@ -1056,8 +1056,7 @@ static void signal_received_chat_msg(PurpleAccount* account, char* sender, char* message, PurpleConversation* conv, PurpleMessageFlags flags) { - is_own_user(account, sender); - if (flags | PURPLE_MESSAGE_SEND) + if (is_own_user(account, sender) == true) return; BString chat_id = BString(purple_conversation_get_name(conv));