diff options
author | George Hazan <ghazan@miranda.im> | 2022-10-27 15:39:39 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-10-27 15:39:39 +0300 |
commit | 9a7849018ffdd78512915678f64dad07dbdcc8c7 (patch) | |
tree | e5650ff1cab8e51ef4417523822f685693777e47 | |
parent | 9d7fc83aa463676e0820a056fa6632711b50f790 (diff) |
oops... suddenly
-rw-r--r-- | protocols/WhatsApp/src/signal.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) |