diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2015-07-27 13:48:14 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2015-07-27 13:48:14 +0000 |
commit | 346d6c8bba413fa13f31f8acfd808c23a4bbccae (patch) | |
tree | 44d5116e7330e5f87579d4826202557d0dc4851e /protocols/SkypeWeb/src/skype_messages.cpp | |
parent | 0d289371985e2d099b0de6b8150dbb74fb416e43 (diff) |
SkypeWeb: More fixes & optimizations
git-svn-id: http://svn.miranda-ng.org/main/trunk@14738 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_messages.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_messages.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/SkypeWeb/src/skype_messages.cpp b/protocols/SkypeWeb/src/skype_messages.cpp index e6974fd2a3..c303e4cedd 100644 --- a/protocols/SkypeWeb/src/skype_messages.cpp +++ b/protocols/SkypeWeb/src/skype_messages.cpp @@ -22,7 +22,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. // incoming message flow
int CSkypeProto::OnReceiveMessage(const char *messageId, const char *url, time_t timestamp, char *content, int emoteOffset, bool isRead)
{
- CMStringA skypename(ContactUrlToName(url));
+ CMStringA skypename(UrlToSkypename(url));
debugLogA("Incoming message from %s", skypename);
MCONTACT hContact = AddContact(skypename, true);
@@ -128,8 +128,8 @@ void CSkypeProto::OnPrivateMessageEvent(const JSONNode &node) bool isEdited = node["skypeeditedid"];
time_t timestamp = getByte("UseLocalTime", 0) ? time(NULL) : IsoToUnixTime(node["composetime"].as_string().c_str());
- CMStringA skypename(ContactUrlToName(node["conversationLink"].as_string().c_str()));
- CMStringA from(ContactUrlToName(node["from"].as_string().c_str()));
+ CMStringA skypename(UrlToSkypename(node["conversationLink"].as_string().c_str()));
+ CMStringA from(UrlToSkypename(node["from"].as_string().c_str()));
std::string content = node["content"].as_string();
int emoteOffset = node["skypeemoteoffset"].as_int();
|