Also activate/deactivate the Subscription menu when activating/deactivating its sub-menus.

git-svn-id: http://voip.null.ro/svn/yate@5008 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
oana 2012-04-18 12:16:09 +00:00
parent 669d920366
commit 5a26f41d57
1 changed files with 2 additions and 0 deletions

View File

@ -357,6 +357,7 @@ static const String s_mucRoomShowLog = "room_showlog";
static const String s_mucMemberShowLog = "room_member_showlog";
static const String s_storeContact = "storecontact";
static const String s_mucInviteAdd = "invite_add";
static const String s_menuSubscription = "menuSubscription";
// Not selected string(s)
static String s_notSelected = "-none-";
// Maximum number of call log entries
@ -2324,6 +2325,7 @@ static void enableChatActions(ClientContact* c, bool checkVisible = true)
p.addParam("active:" + s_chatSub,noRoomOk);
p.addParam("active:" + s_chatUnsubd,noRoomOk);
p.addParam("active:" + s_chatUnsub,noRoomOk);
p.addParam("active:" + s_menuSubscription,noRoomOk);
Client::self()->setParams(&p);
}