From 8a904bdef0e8237dee49c1b704d4ebbc2b28a958 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Wed, 31 Aug 2016 10:11:32 +0000 Subject: Facebook: Basic support for handling more chat events; version bump Events like user join/leave, change emoji, etc. are now printed, but that's all. Still missing specific behavior for them, but that require more changes in events parsing and on other places. git-svn-id: http://svn.miranda-ng.org/main/trunk@17222 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/FacebookRM/src/theme.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'protocols/FacebookRM/src/theme.cpp') diff --git a/protocols/FacebookRM/src/theme.cpp b/protocols/FacebookRM/src/theme.cpp index 8e7ae32cf7..a1e83aca21 100644 --- a/protocols/FacebookRM/src/theme.cpp +++ b/protocols/FacebookRM/src/theme.cpp @@ -3,7 +3,7 @@ Facebook plugin for Miranda Instant Messenger _____________________________________________ -Copyright © 2009-11 Michal Zelinka, 2011-16 Robert Pösel +Copyright � 2009-11 Michal Zelinka, 2011-16 Robert P�sel This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -213,11 +213,12 @@ int FacebookProto::OnPrebuildContactMenu(WPARAM wParam, LPARAM) BYTE type = getByte(hContact, FACEBOOK_KEY_CONTACT_TYPE, 0); bool bIsChatroom = isChatRoom(hContact); + bool bIsSpecialChatroom = IsSpecialChatRoom(hContact); bool bIsPage = (type == CONTACT_PAGE); Menu_ShowItem(g_hContactMenuVisitProfile, !bIsChatroom); Menu_ShowItem(g_hContactMenuVisitFriendship, !bIsChatroom && !bIsPage); - Menu_ShowItem(g_hContactMenuVisitConversation, true); + Menu_ShowItem(g_hContactMenuVisitConversation, !bIsSpecialChatroom); Menu_ShowItem(g_hContactMenuPostStatus, !bIsChatroom); Menu_ShowItem(g_hContactMenuLoadHistory, !bIsChatroom); -- cgit v1.2.3