Enable chat room controls if user is admin
This commit is contained in:
parent
4e1ac4fe18
commit
0d25a2e296
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ public class GroupChatFragment extends Fragment implements ChatRoomListener, Con
|
|||
ContactAddress ca = new ContactAddress(c, a.asString(), c.isFriend());
|
||||
participants.add(ca);
|
||||
}
|
||||
LinphoneActivity.instance().goToChatGroupInfos(participants, mChatRoom.getSubject(), true, /*TODO*/ false);
|
||||
LinphoneActivity.instance().goToChatGroupInfos(participants, mChatRoom.getSubject(), true, mChatRoom.getMe() != null ? mChatRoom.getMe().isAdmin() : false);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue