From 9a7849018ffdd78512915678f64dad07dbdcc8c7 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 27 Oct 2022 15:39:39 +0300 Subject: oops... suddenly --- protocols/WhatsApp/src/signal.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/WhatsApp/src/signal.cpp') diff --git a/protocols/WhatsApp/src/signal.cpp b/protocols/WhatsApp/src/signal.cpp index 8240322baf..3459aa5a08 100644 --- a/protocols/WhatsApp/src/signal.cpp +++ b/protocols/WhatsApp/src/signal.cpp @@ -113,7 +113,7 @@ static int contains_session_func(const signal_protocol_address *address, void *u MSignalSession tmp(CMStringA(address->name, (int)address->name_len), address->device_id); ptrA data(pStore->pProto->getStringA(tmp.getSetting())); - return data == nullptr; + return data != nullptr; } static int delete_all_sessions_func(const char *name, size_t name_len, void *user_data) -- cgit v1.2.3