summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_chat.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2013-06-15 09:55:44 +0000
committerAlexander Lantsev <aunsane@gmail.com>2013-06-15 09:55:44 +0000
commite3b5f750733bbbe9cdd5cb8292ca6938ae8b42f8 (patch)
treeba139bbd7990967197f674ff1201ce228b85362c /protocols/Skype/src/skype_chat.cpp
parent913eb113dd70d059037424bfc6cf231dee896ac3 (diff)
Skype: fixed member quit from chat
git-svn-id: http://svn.miranda-ng.org/main/trunk@4953 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_chat.cpp')
-rw-r--r--protocols/Skype/src/skype_chat.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Skype/src/skype_chat.cpp b/protocols/Skype/src/skype_chat.cpp
index ab08abafcc..2c9f45100c 100644
--- a/protocols/Skype/src/skype_chat.cpp
+++ b/protocols/Skype/src/skype_chat.cpp
@@ -492,7 +492,7 @@ void ChatRoom::RemoveMember(const ChatMember &item, DWORD timestamp)
ChatMember *member = this->FindChatMember(item.GetSid());
if (member != NULL)
{
- this->SendEvent(*member, GC_EVENT_QUIT, timestamp);
+ this->SendEvent(*member, GC_EVENT_PART, timestamp);
this->members.remove(member);
delete member;
}
@@ -675,7 +675,7 @@ void ChatRoom::OnEvent(const ConversationRef &conversation, const MessageRef &me
Message::CONSUMPTION_STATUS status;
message->GetPropConsumptionStatus(status);
- if (status == Message::UNCONSUMED_NORMAL)
+ if (status != Message::CONSUMED)
{
uint timestamp;
message->GetPropTimestamp(timestamp);