From 4c38af081130d207d16065c43750bbdd1599c881 Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Sun, 19 Apr 2015 17:36:13 +0000 Subject: SkypeWeb: Small fixes. git-svn-id: http://svn.miranda-ng.org/main/trunk@12940 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeWeb/src/skype_login.cpp | 3 ++- protocols/SkypeWeb/src/skype_messages.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'protocols') diff --git a/protocols/SkypeWeb/src/skype_login.cpp b/protocols/SkypeWeb/src/skype_login.cpp index 9db25d8c64..00a065cbd5 100644 --- a/protocols/SkypeWeb/src/skype_login.cpp +++ b/protocols/SkypeWeb/src/skype_login.cpp @@ -194,7 +194,8 @@ void CSkypeProto::OnCapabilitiesSended(const NETLIBHTTPREQUEST *response) LIST skypenames(1); for (MCONTACT hContact = db_find_first(m_szModuleName); hContact; hContact = db_find_next(hContact, m_szModuleName)) { - skypenames.insert(getStringA(hContact, SKYPE_SETTINGS_ID)); + if(!isChatRoom(hContact)) + skypenames.insert(getStringA(hContact, SKYPE_SETTINGS_ID)); } SendRequest(new CreateContactsRequest(RegToken, skypenames, Server)); for (int i = 0; i < skypenames.getCount(); i++) diff --git a/protocols/SkypeWeb/src/skype_messages.cpp b/protocols/SkypeWeb/src/skype_messages.cpp index 51cc116d0d..0f952fa528 100644 --- a/protocols/SkypeWeb/src/skype_messages.cpp +++ b/protocols/SkypeWeb/src/skype_messages.cpp @@ -268,7 +268,7 @@ void CSkypeProto::OnPrivateMessageEvent(JSONNODE *node) int CSkypeProto::OnDbEventRead(WPARAM hContact, LPARAM hDbEvent) { debugLogA(__FUNCTION__); - if (IsOnline()) + if (IsOnline() && !isChatRoom(hContact)) MarkMessagesRead(hContact, hDbEvent); return 0; } -- cgit v1.2.3