diff options
Diffstat (limited to 'protocols/SkypeWeb/src/skype_profile.cpp')
-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);
|