summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_chat.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-08-06 20:06:49 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-08-06 20:06:49 +0000
commit4d52061bac77ed58941fc614736719bbb18620ba (patch)
treeda0c91e7cf7498dd3f45d9894c9a8bc88ac264f7 /protocols/Skype/src/skype_chat.cpp
parent65a53b8ae95bf7adb160b4e7cb10efc342fa75d0 (diff)
more cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@5606 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_chat.cpp')
-rw-r--r--protocols/Skype/src/skype_chat.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/protocols/Skype/src/skype_chat.cpp b/protocols/Skype/src/skype_chat.cpp
index 56a26d011b..ee3626842e 100644
--- a/protocols/Skype/src/skype_chat.cpp
+++ b/protocols/Skype/src/skype_chat.cpp
@@ -336,6 +336,7 @@ void ChatRoom::Join(const wchar_t *joinBlob, CSkypeProto *ppro)
CSkypeProto::ReplaceSpecialChars(cid);
ChatRoom *room = new ChatRoom(cid, name, ppro);
+ ppro->chatRooms.insert(room);
room->Start(conversation, true);
}
}
@@ -1660,6 +1661,7 @@ void __cdecl CSkypeProto::LoadChatList(void*)
ptrW name = ::mir_utf8decodeW(data);
ChatRoom *room = new ChatRoom(cid, name, this);
+ chatRooms.insert(room);
room->Start(conversation);
}
}
@@ -1695,6 +1697,7 @@ void CSkypeProto::OnChatEvent(const ConversationRef &conversation, const Message
ptrW name = ::mir_utf8decodeW(data);
ChatRoom *room = new ChatRoom(cid, name, this);
+ chatRooms.insert(room);
room->Start(conversation, true);
}
}
@@ -1720,6 +1723,7 @@ void CSkypeProto::OnConversationListChange(
ptrW name = ::mir_utf8decodeW(data);
ChatRoom *room = new ChatRoom(cid, name, this);
+ chatRooms.insert(room);
room->Start(conversation, true);
}
}