summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_subclassing.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2012-12-17 14:20:44 +0000
committerAlexander Lantsev <aunsane@gmail.com>2012-12-17 14:20:44 +0000
commit7d24302b79edea781e0f5bb5f449eb50dc88f275 (patch)
tree8f4cf6faa79907c858781cb151677dfc110f2654 /protocols/Skype/src/skype_subclassing.cpp
parent2a3ee65d2ca5dbd9adef21a7fc4740f0d60dc8c7 (diff)
- added proxy settings support
git-svn-id: http://svn.miranda-ng.org/main/trunk@2759 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_subclassing.cpp')
-rw-r--r--protocols/Skype/src/skype_subclassing.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/protocols/Skype/src/skype_subclassing.cpp b/protocols/Skype/src/skype_subclassing.cpp
index adbd6a5120..d8843a800f 100644
--- a/protocols/Skype/src/skype_subclassing.cpp
+++ b/protocols/Skype/src/skype_subclassing.cpp
@@ -197,6 +197,17 @@ void CConversation::OnMessage(const MessageRef & message)
(proto->*callback)(message->ref());
}
+CConversation::Ref CConversation::FindBySid(CSkype *skype, SEString sid)
+{
+ SEStringList participants;
+ participants.append(sid);
+
+ CConversation::Ref conversation;
+ skype->GetConversationByParticipants(participants, conversation);
+
+ return conversation;
+}
+
void CConversation::SetOnMessageReceivedCallback(OnMessageReceived callback, CSkypeProto* proto)
{
this->proto = proto;