summaryrefslogtreecommitdiff
path: root/protocols/Skype/src
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-07-04 18:54:21 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-07-04 18:54:21 +0000
commitacb9e41cadc5d23365098b2436604d3a386a79b1 (patch)
treeb55f7273c1b51bf1e2d1f73000a64fd4323f427f /protocols/Skype/src
parent75d705f5a32374ed013ed74aa8362df552dc3cff (diff)
added statusex support. needs for different nicks color when they away or dnd
git-svn-id: http://svn.miranda-ng.org/main/trunk@5233 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src')
-rw-r--r--protocols/Skype/src/skype_chat.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/protocols/Skype/src/skype_chat.cpp b/protocols/Skype/src/skype_chat.cpp
index cde19dac34..6425e56207 100644
--- a/protocols/Skype/src/skype_chat.cpp
+++ b/protocols/Skype/src/skype_chat.cpp
@@ -531,6 +531,11 @@ void ChatRoom::UpdateMemberStatus(ChatMember *member, int status, DWORD timestam
{
if (member->GetStatus() != status)
{
+ if (status == ID_STATUS_AWAY || status == ID_STATUS_DND)
+ this->SendEvent(*member, GC_EVENT_SETSTATUSEX, timestamp, 0, 3, (const wchar_t*)0, member->GetSid());
+ else
+ this->SendEvent(*member, GC_EVENT_SETSTATUSEX, timestamp, 0, 1, (const wchar_t*)0, member->GetSid());
+
this->SendEvent(*member, GC_EVENT_SETCONTACTSTATUS, timestamp, 0, status);
member->SetStatus(status);
}