diff options
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/ICQ-WIM/src/server.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/ICQ-WIM/src/server.cpp b/protocols/ICQ-WIM/src/server.cpp index c77070156d..db7f034934 100644 --- a/protocols/ICQ-WIM/src/server.cpp +++ b/protocols/ICQ-WIM/src/server.cpp @@ -367,9 +367,11 @@ MCONTACT CIcqProto::ParseBuddyInfo(const JSONNode &buddy, MCONTACT hContact, boo Json2string(hContact, buddy, "emailId", "Email", bIsPartial); Json2string(hContact, buddy, "cellNumber", "Cellular", bIsPartial); - Json2string(hContact, buddy, "phoneNumber", DB_KEY_PHONE, bIsPartial); Json2string(hContact, buddy, "workNumber", "CompanyPhone", bIsPartial); + // we shall not remove existing phone number anyhow + Json2string(hContact, buddy, "phoneNumber", DB_KEY_PHONE, true); + Json2int(hContact, buddy, "official", "Official", bIsPartial); Json2int(hContact, buddy, "onlineTime", DB_KEY_ONLINETS, bIsPartial); Json2int(hContact, buddy, "idleTime", "IdleTS", bIsPartial); |