summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocols/SkypeWeb/src/skype_messages.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/skype_messages.cpp b/protocols/SkypeWeb/src/skype_messages.cpp
index 577aef73cd..ae43e0a500 100644
--- a/protocols/SkypeWeb/src/skype_messages.cpp
+++ b/protocols/SkypeWeb/src/skype_messages.cpp
@@ -58,7 +58,7 @@ int CSkypeProto::OnReceiveMessage(const char *messageId, const char *skypename,
if (isRead)
recv.flags |= PREF_CREATEREAD;
debugLogA("Incoming message from %s", skypename);
- MCONTACT hContact = GetContact(skypename);
+ MCONTACT hContact = GetContact(ptrA(ContactUrlToName(skypename)));
return ProtoChainRecvMsg(hContact, &recv);
}