diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-04-10 15:27:58 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-04-10 15:27:58 +0000 |
commit | 9e09ae88c20f889e3fe3d21c459d1c21ba9cc6d7 (patch) | |
tree | 9efd5b3409b14a486d359e5ea6ee8e2e211400b4 /protocols/SkypeWeb | |
parent | 67e48bab6bddbf7f875ae2ecd573d6e7c8ab786d (diff) |
git-svn-id: http://svn.miranda-ng.org/main/trunk@12742 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb')
-rw-r--r-- | protocols/SkypeWeb/src/skype_profile.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/SkypeWeb/src/skype_profile.cpp b/protocols/SkypeWeb/src/skype_profile.cpp index b566c50b63..7148e5a156 100644 --- a/protocols/SkypeWeb/src/skype_profile.cpp +++ b/protocols/SkypeWeb/src/skype_profile.cpp @@ -427,6 +427,8 @@ void CSkypeProto::UpdateProfilePhoneOffice(JSONNODE *root, MCONTACT hContact) void CSkypeProto::UpdateProfileStatusMessage(JSONNODE *root, MCONTACT hContact)
{
JSONNODE *node = json_get(root, "mood");
+ if(hContact == NULL)
+ return;
CMString province = mir_t2a(ptrT(json_as_string(node)));
if (!province.IsEmpty() && province != "null")
db_set_ts(hContact, "CList", "StatusMsg", province);
|