diff options
Diffstat (limited to 'protocols/Skype/src/skypekit')
-rw-r--r-- | protocols/Skype/src/skypekit/skypekit.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Skype/src/skypekit/skypekit.cpp b/protocols/Skype/src/skypekit/skypekit.cpp index 233b7b0535..d06f505969 100644 --- a/protocols/Skype/src/skypekit/skypekit.cpp +++ b/protocols/Skype/src/skypekit/skypekit.cpp @@ -41,7 +41,7 @@ CTransfer* CSkype::newTransfer(int oid) return new CTransfer(oid, this);
}
-CContactSearch* CSkype::newContactSearch(int oid)
+CContactSearch* CSkype::newContactSearch(int oid)
{
return new CContactSearch(oid, this);
}
@@ -73,6 +73,6 @@ void CSkype::OnMessage ( const MessageRef & supersedesHistoryMessage,
const ConversationRef & conversation)
{
- if (this->proto)
+ if (this->proto && this->onMessagedCallback)
(proto->*onMessagedCallback)(conversation, message);
-}
\ No newline at end of file +}
|