added @room to suggestion view for room mentions

This commit is contained in:
Mauro Romito
2025-03-12 18:19:05 +01:00
committed by Mauro
parent ae1c35a63b
commit 2b31ac6f88
5 changed files with 9 additions and 9 deletions
@@ -69,7 +69,7 @@ struct SuggestionItem: Identifiable, Equatable {
var subtitle: String? {
switch suggestionType {
case .allUsers:
return nil
return PillConstants.atRoom
case .user(let user):
return user.displayName == nil ? nil : user.id
case .room(let room):