summaryrefslogtreecommitdiff
path: root/plugins/!NotAdopted/Skype/contacts.c
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2012-07-29 12:02:39 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2012-07-29 12:02:39 +0000
commit837ba88833d864c06ee5d6110a570387a1f37d48 (patch)
tree722331fe8d20c8e50fee0d2a66c94ab152f64b91 /plugins/!NotAdopted/Skype/contacts.c
parent4579351044c7c214e44c35816a9ac0934b7ecdf4 (diff)
Skype: updated to the latest sources
git-svn-id: http://svn.miranda-ng.org/main/trunk@1240 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/!NotAdopted/Skype/contacts.c')
-rw-r--r--plugins/!NotAdopted/Skype/contacts.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/!NotAdopted/Skype/contacts.c b/plugins/!NotAdopted/Skype/contacts.c
index c83d3294a1..45df24821f 100644
--- a/plugins/!NotAdopted/Skype/contacts.c
+++ b/plugins/!NotAdopted/Skype/contacts.c
@@ -262,8 +262,10 @@ int __cdecl PrebuildContactMenu(WPARAM wParam, LPARAM lParam) {
if (DBGetContactSettingByte((HANDLE)wParam, SKYPE_PROTONAME, "ChatRoom", 0)==0)
mi.flags ^= CMIF_HIDDEN;
mi.flags |= CMIM_FLAGS;
- CallService(MS_CLIST_MODIFYMENUITEM, (WPARAM)(HANDLE)hMenuFileTransferItem,(LPARAM)&mi);
-
+ CallService(MS_CLIST_MODIFYMENUITEM, (WPARAM)(HANDLE)hMenuFileTransferItem,(LPARAM)&mi);
+ }
+
+ if (protocol>=5 || bIsImoproxy) {
mi=ChatInitItem();
if (DBGetContactSettingByte(NULL, SKYPE_PROTONAME, "UseGroupchat", 0) &&
DBGetContactSettingByte((HANDLE)wParam, SKYPE_PROTONAME, "ChatRoom", 0)==0)