@@ -117,7 +117,7 @@ class GroupMembersViewController: UITableViewController {
117117 }
118118
119119 override func tableView( _ tableView: UITableView , didSelectRowAt indexPath: IndexPath ) {
120- didSelectContactCell ( at: indexPath, verifiedContactRequired : false )
120+ didSelectContactCell ( at: indexPath)
121121 }
122122
123123 func updateContactCell( for indexPath: IndexPath ) -> UITableViewCell {
@@ -134,7 +134,7 @@ class GroupMembersViewController: UITableViewController {
134134 }
135135
136136 // MARK: - actions
137- func didSelectContactCell( at indexPath: IndexPath , verifiedContactRequired : Bool ) {
137+ func didSelectContactCell( at indexPath: IndexPath ) {
138138 let row = indexPath. row
139139 if let cell = tableView. cellForRow ( at: indexPath) {
140140 tableView. deselectRow ( at: indexPath, animated: true )
@@ -146,20 +146,6 @@ class GroupMembersViewController: UITableViewController {
146146 }
147147 groupMemberSelectionDelegate? . selected ( contactId: contactId, selected: false )
148148 } else {
149- if verifiedContactRequired && !dcContext. getContact ( id: contactId) . isVerified {
150- let alert = UIAlertController ( title: String . localized ( " verified_contact_required_explain " ) , message: nil , preferredStyle: . alert)
151- alert. addAction ( UIAlertAction ( title: String . localized ( " learn_more " ) , style: . default, handler: { [ weak self] _ in
152- self ? . openHelp ( fragment: " #howtoe2ee " )
153- } ) )
154- alert. addAction ( UIAlertAction ( title: String . localized ( " qrscan_title " ) , style: . default, handler: { _ in
155- if let appDelegate = UIApplication . shared. delegate as? AppDelegate {
156- appDelegate. appCoordinator. presentQrCodeController ( )
157- }
158- } ) )
159- alert. addAction ( UIAlertAction ( title: String . localized ( " ok " ) , style: . cancel, handler: nil ) )
160- navigationController? . present ( alert, animated: true , completion: nil )
161- return
162- }
163149 selectedContactIds. insert ( contactId)
164150 if enableCheckmarks {
165151 cell. accessoryType = . checkmark
0 commit comments