From 837006acee59b48197a1503d41ff79ea1ca35aa9 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 9 Sep 2013 18:00:19 +0000 Subject: standard behavior for contacts being added: they should also blink in clist git-svn-id: http://svn.miranda-ng.org/main/trunk@6034 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/MRA/src/Mra_functions.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/MRA/src/Mra_functions.cpp') diff --git a/protocols/MRA/src/Mra_functions.cpp b/protocols/MRA/src/Mra_functions.cpp index edb2426f00..d745d942f7 100644 --- a/protocols/MRA/src/Mra_functions.cpp +++ b/protocols/MRA/src/Mra_functions.cpp @@ -367,12 +367,12 @@ DWORD CMraProto::SetContactFlags(HANDLE hContact, DWORD dwContactFlag) setDword(hContact, "ContactFlags", dwContactFlag); - if (dwContactFlag&CONTACT_FLAG_SHADOW) + if (dwContactFlag & CONTACT_FLAG_SHADOW) db_set_b(hContact, "CList", "Hidden", 1); else db_unset(hContact, "CList", "Hidden"); - switch (dwContactFlag&(CONTACT_FLAG_INVISIBLE|CONTACT_FLAG_VISIBLE)) { + switch (dwContactFlag & (CONTACT_FLAG_INVISIBLE|CONTACT_FLAG_VISIBLE)) { case CONTACT_FLAG_INVISIBLE: setWord(hContact, "ApparentMode", ID_STATUS_OFFLINE); break; @@ -384,7 +384,7 @@ DWORD CMraProto::SetContactFlags(HANDLE hContact, DWORD dwContactFlag) break; } - if (dwContactFlag&CONTACT_FLAG_IGNORE) + if (dwContactFlag & CONTACT_FLAG_IGNORE) CallService(MS_IGNORE_IGNORE, (WPARAM)hContact, IGNOREEVENT_MESSAGE); else CallService(MS_IGNORE_UNIGNORE, (WPARAM)hContact, IGNOREEVENT_MESSAGE); -- cgit v1.2.3