Skip to content

Commit

Permalink
feat: hide interface to search for bots in teams with MLS as default …
Browse files Browse the repository at this point in the history
…protocol - WPB-10779 (#2112)
  • Loading branch information
KaterinaWire authored Nov 25, 2024
1 parent 0cbe133 commit 5a0f2ac
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ final class StartUIViewController: UIViewController {
}

var showsGroupSelector: Bool {
SearchGroup.all.count > 1 && userSession.selfUser.canSeeServices
SearchGroup.all.count > 1 &&
userSession.selfUser.canSeeServices &&
userSession.mlsFeature.config.defaultProtocol != .mls
}

// MARK: - Init
Expand Down

0 comments on commit 5a0f2ac

Please sign in to comment.