diff options
Diffstat (limited to 'protocols/WhatsApp/src/signal.cpp')
-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++;
}
}
|