diff options
author | George Hazan <ghazan@miranda.im> | 2023-02-21 17:09:34 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2023-02-21 17:09:34 +0300 |
commit | 12aa166ab2c280b1b8cf4d8507512c750a587de1 (patch) | |
tree | d86aaa3dd022a13e7c9e77b7db468ad260bdf634 /protocols/WhatsApp | |
parent | 4d2f4fab80174f6ab5e730b62fdf7abda015768b (diff) |
code cleaning
Diffstat (limited to 'protocols/WhatsApp')
-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 d8a57b0222..7e147de11a 100644 --- a/protocols/WhatsApp/src/signal.cpp +++ b/protocols/WhatsApp/src/signal.cpp @@ -123,7 +123,7 @@ static int delete_all_sessions_func(const char *name, size_t name_len, void *use for (auto &it : pList.rev_iter()) {
if (it->hasAddress(name, name_len)) {
pStore->pProto->delSetting(it->getSetting());
- pList.remove(pList.indexOf(&it));
+ pList.removeItem(&it);
count++;
}
}
|