summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_messages.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-04-20 09:23:24 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-04-20 09:23:24 +0000
commitead18d4769123e07d79b8f8ea86c87ef9ea5d1dc (patch)
tree15133cf470bd330157a26c7c110a791e4514ab63 /protocols/SkypeWeb/src/skype_messages.cpp
parentcf07690cddca7d8e7fd92219897bca5b12c87aa7 (diff)
SkypeWeb: Small fix.
git-svn-id: http://svn.miranda-ng.org/main/trunk@12959 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_messages.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_messages.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/skype_messages.cpp b/protocols/SkypeWeb/src/skype_messages.cpp
index bc0aa74669..21d04586f3 100644
--- a/protocols/SkypeWeb/src/skype_messages.cpp
+++ b/protocols/SkypeWeb/src/skype_messages.cpp
@@ -302,7 +302,7 @@ void CSkypeProto::OnPrivateMessageEvent(JSONNODE *node)
int CSkypeProto::OnDbEventRead(WPARAM hContact, LPARAM hDbEvent)
{
debugLogA(__FUNCTION__);
- if (IsOnline() && !isChatRoom(hContact))
+ if (IsOnline() && !isChatRoom(hContact) && !mir_strcmp(GetContactProto(hContact), m_szModuleName))
MarkMessagesRead(hContact, hDbEvent);
return 0;
}