summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-12-16 16:38:36 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-12-16 16:38:36 +0300
commit60f7ea529e47131294bb73caba2976a178148031 (patch)
tree7ec9dba9d36091f97d82eafa8f201ed5959eeb15
parent7310f494c143feac54a6f2ea3b7e2a2bb5eeac4f (diff)
ICQ-WIM: fix for async [deleted] processing
-rw-r--r--protocols/ICQ-WIM/src/server.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/ICQ-WIM/src/server.cpp b/protocols/ICQ-WIM/src/server.cpp
index 3b05f11947..6f88715a19 100644
--- a/protocols/ICQ-WIM/src/server.cpp
+++ b/protocols/ICQ-WIM/src/server.cpp
@@ -290,8 +290,10 @@ MCONTACT CIcqProto::ParseBuddyInfo(const JSONNode &buddy, MCONTACT hContact)
if (var)
setWString(hContact, "Nick", var.as_mstring());
- if (buddy["deleted"].as_bool())
+ if (buddy["deleted"].as_bool()) {
setByte(hContact, "IcqDeleted", 1);
+ Contact_PutOnList(hContact);
+ }
Json2string(hContact, buddy, "emailId", "Email");
Json2string(hContact, buddy, "cellNumber", "Cellular");