From 920181e8bd7ee69f456d1e415bd7270c7b23c1f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Mon, 28 May 2012 09:27:07 +0000 Subject: SmileyAdd: Protos with only PF1_CHAT flag (and no PF1_IM) should be supported too git-svn-id: http://svn.miranda-ng.org/main/trunk@207 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SmileyAdd/general.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/SmileyAdd/general.cpp') diff --git a/plugins/SmileyAdd/general.cpp b/plugins/SmileyAdd/general.cpp index 0e1c6e7131..b4fdc07df3 100644 --- a/plugins/SmileyAdd/general.cpp +++ b/plugins/SmileyAdd/general.cpp @@ -271,7 +271,7 @@ HANDLE DecodeMetaContact(HANDLE hContact) bool IsSmileyProto(char* proto) { return proto && (!metaProtoName || strcmp(proto, metaProtoName)) && - (CallProtoService(proto, PS_GETCAPS, PFLAGNUM_1, 0) & PF1_IM); + (CallProtoService(proto, PS_GETCAPS, PFLAGNUM_1, 0) & (PF1_IM | PF1_CHAT)); } void ReportError(const TCHAR* errmsg) -- cgit v1.2.3