diff options
Diffstat (limited to 'protocols/SkypeWeb')
-rw-r--r-- | protocols/SkypeWeb/src/skype_chatrooms.cpp | 4 |
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"))
|