mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 16:42:44 +02:00
Enable / disable external friends invite
This commit is contained in:
@@ -133,6 +133,12 @@
|
||||
|
||||
- (void)setupInviteFriendsHeaderView
|
||||
{
|
||||
if (!RiotSettings.shared.allowInviteExernalUsers)
|
||||
{
|
||||
self.contactsTableView.tableHeaderView = nil;
|
||||
return;
|
||||
}
|
||||
|
||||
InviteFriendsHeaderView *inviteFriendsHeaderView = [InviteFriendsHeaderView instantiate];
|
||||
inviteFriendsHeaderView.delegate = self;
|
||||
self.contactsTableView.tableHeaderView = inviteFriendsHeaderView;
|
||||
|
||||
Reference in New Issue
Block a user