From 7d24302b79edea781e0f5bb5f449eb50dc88f275 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Mon, 17 Dec 2012 14:20:44 +0000 Subject: - added proxy settings support git-svn-id: http://svn.miranda-ng.org/main/trunk@2759 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Skype/src/skype_subclassing.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'protocols/Skype/src/skype_subclassing.cpp') 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; -- cgit v1.2.3