diff options
author | Robert Pösel <robyer@seznam.cz> | 2017-05-07 15:56:26 +0200 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2017-05-07 15:56:26 +0200 |
commit | 1dbd2d4f10041f9276cb62d1c27593502c8b8f01 (patch) | |
tree | 02c149ed023bf32bc54cbaeb5b2b9d88caf4f522 /protocols/SkypeWeb/src/skype_proto.cpp | |
parent | e04d28cfcfe33f0450b390bb1af6e9df823fc86a (diff) |
SkypeWeb: Fix infinite refreshing in contact details
Note refreshing this info is still broken (gives "User '<self_username>' is not authorized to request resource of user '<username>'" error).
Diffstat (limited to 'protocols/SkypeWeb/src/skype_proto.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_proto.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/SkypeWeb/src/skype_proto.cpp b/protocols/SkypeWeb/src/skype_proto.cpp index dd4f476562..fc9f9fea9a 100644 --- a/protocols/SkypeWeb/src/skype_proto.cpp +++ b/protocols/SkypeWeb/src/skype_proto.cpp @@ -215,10 +215,10 @@ int CSkypeProto::AuthRequest(MCONTACT hContact, const wchar_t *szMessage) int CSkypeProto::GetInfo(MCONTACT hContact, int) { - if (!isChatRoom(hContact)) - PushRequest( - new GetProfileRequest(li, Contacts[hContact]), - &CSkypeProto::LoadProfile); + if (isChatRoom(hContact)) + return 1; + + PushRequest(new GetProfileRequest(li, Contacts[hContact]), &CSkypeProto::LoadProfile, (void*)hContact); return 0; } |