diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2013-06-26 07:04:37 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2013-06-26 07:04:37 +0000 |
commit | e3b515c53f4e3d77dd09c43009f3b0725f0949eb (patch) | |
tree | b2629d77c1da572d796a3d97fae101f7dea7300f /protocols/Skype/src/skype_messages.cpp | |
parent | bd1c30c57ac057a09565a1cbd0af39812207a832 (diff) |
Some improvements and cleanup in skype
git-svn-id: http://svn.miranda-ng.org/main/trunk@5137 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_messages.cpp')
-rw-r--r-- | protocols/Skype/src/skype_messages.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/protocols/Skype/src/skype_messages.cpp b/protocols/Skype/src/skype_messages.cpp index b4788e98a5..2c398de2b0 100644 --- a/protocols/Skype/src/skype_messages.cpp +++ b/protocols/Skype/src/skype_messages.cpp @@ -49,7 +49,7 @@ void CSkypeProto::OnMessageReceived(const ConversationRef &conversation, const M message->GetPropBodyXml(data);
char *text = CSkypeProto::RemoveHtml(data);
- message->GetPropAuthor(data);
+ message->GetPropAuthor(data);
CContact::Ref author;
this->GetContact(data, author);
@@ -161,7 +161,7 @@ void CSkypeProto::OnMessageEvent(const ConversationRef &conversation, const Mess HANDLE hContact = this->AddContact(author);
- char *message = ::mir_utf8encode(::Translate("Incoming call received"));
+ char *message = ::mir_utf8encode(::Translate("Incoming call started"));
this->AddDBEvent(
hContact,
@@ -171,9 +171,9 @@ void CSkypeProto::OnMessageEvent(const ConversationRef &conversation, const Mess (DWORD)::strlen(message) + 1,
(PBYTE)message);
//temp popup
- TCHAR popuptext[MAX_PATH];
- mir_sntprintf(popuptext, SIZEOF(popuptext), TranslateT("Incoming call from %s. Use offical skype for calling."), mir_ptr<wchar_t>(::mir_utf8decodeW(identity)));
- this->ShowNotification(popuptext);
+ /*TCHAR popuptext[MAX_PATH];
+ mir_sntprintf(popuptext, SIZEOF(popuptext), TranslateT("Incoming call from %s. Use offical skype for calling."), ptrW(::mir_utf8decodeW(identity)));
+ this->ShowNotification(popuptext);*/
}
break;
|