(purple) Fix message receive

This commit is contained in:
Jaidyn Ann 2021-07-09 11:53:16 -05:00
parent f4df6d0d3b
commit 5217c282e2

View File

@ -1056,8 +1056,7 @@ static void
signal_received_chat_msg(PurpleAccount* account, char* sender, char* message, signal_received_chat_msg(PurpleAccount* account, char* sender, char* message,
PurpleConversation* conv, PurpleMessageFlags flags) PurpleConversation* conv, PurpleMessageFlags flags)
{ {
is_own_user(account, sender); if (is_own_user(account, sender) == true)
if (flags | PURPLE_MESSAGE_SEND)
return; return;
BString chat_id = BString(purple_conversation_get_name(conv)); BString chat_id = BString(purple_conversation_get_name(conv));