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));