mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-01 13:46:57 +02:00
Option to autocomplete nicknames from their member info page
https://github.com/vector-im/vector-ios/issues/317
This commit is contained in:
@@ -68,9 +68,6 @@
|
||||
self.enableBarTintColorStatusChange = NO;
|
||||
self.rageShakeManager = [RageShakeManager sharedManager];
|
||||
|
||||
// Set delegate to handle start chat option
|
||||
self.delegate = [AppDelegate theDelegate];
|
||||
|
||||
self.memberHeaderView.backgroundColor = kVectorColorLightGrey;
|
||||
self.roomMemberNameLabel.textColor = kVectorTextColorBlack;
|
||||
self.roomMemberStatusLabel.textColor = kVectorColorGreen;
|
||||
@@ -404,6 +401,12 @@
|
||||
}
|
||||
}
|
||||
|
||||
if (self.enableMention)
|
||||
{
|
||||
// Add mention option
|
||||
[actionsArray addObject:@(MXKRoomMemberDetailsActionMention)];
|
||||
}
|
||||
|
||||
return actionsArray.count;
|
||||
}
|
||||
|
||||
@@ -452,6 +455,9 @@
|
||||
case MXKRoomMemberDetailsActionStartVideoCall:
|
||||
title = NSLocalizedStringFromTable(@"room_participants_action_start_video_call", @"Vector", nil);
|
||||
break;
|
||||
case MXKRoomMemberDetailsActionMention:
|
||||
title = NSLocalizedStringFromTable(@"room_participants_action_mention", @"Vector", nil);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user