summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-04-22 12:27:16 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-04-22 12:27:16 +0000
commitee37e1ee4aba1bf1dfae2a4018f50f16011babff (patch)
tree5bf5425bd1d2d585e3645080acec448d1296893b /protocols/SkypeWeb/src
parent90de1465ef6f1d7b1a4ca615e3d2eed548f33424 (diff)
SkypeWeb: Small chats fix.
git-svn-id: http://svn.miranda-ng.org/main/trunk@13033 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src')
-rw-r--r--protocols/SkypeWeb/src/skype_chatrooms.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/protocols/SkypeWeb/src/skype_chatrooms.cpp b/protocols/SkypeWeb/src/skype_chatrooms.cpp
index 3123c3cc50..a067fb3bd6 100644
--- a/protocols/SkypeWeb/src/skype_chatrooms.cpp
+++ b/protocols/SkypeWeb/src/skype_chatrooms.cpp
@@ -280,7 +280,7 @@ void CSkypeProto::OnChatEvent(JSONNODE *node)
ptrT topic(json_as_string(json_get(node, "threadtopic")));
- //StartChatRoom(_A2T(chatname), topic);
+ if (FindChatRoom(chatname) == NULL) StartChatRoom(_A2T(chatname), topic);
ptrA messageType(mir_t2a(ptrT(json_as_string(json_get(node, "messagetype")))));
if (!mir_strcmpi(messageType, "Text") || !mir_strcmpi(messageType, "RichText"))
@@ -315,8 +315,6 @@ void CSkypeProto::OnChatEvent(JSONNODE *node)
target = ParseUrl(xtarget, "8:");
- if (FindChatRoom(chatname) == NULL) StartChatRoom(_A2T(chatname), topic);
-
AddChatContact(_A2T(chatname), target, target, L"User");
}
else if (!mir_strcmpi(messageType, "ThreadActivity/DeleteMember"))