Skip to content

Commit

Permalink
Exclude invites when using room list filters
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanceriu committed May 13, 2024
1 parent 1556bb0 commit 986eb23
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,13 @@ enum RoomListFilter: Int, CaseIterable, Identifiable {
var rustFilter: RoomListEntriesDynamicFilterKind {
switch self {
case .people:
return .category(expect: .people)
return .all(filters: [.category(expect: .people), .joined])
case .rooms:
return .category(expect: .group)
return .all(filters: [.category(expect: .group), .joined])
case .unreads:
return .unread
return .all(filters: [.unread, .joined])
case .favourites:
return .favourite
return .all(filters: [.favourite, .joined])
case .invites:
return .invite
}
Expand Down

0 comments on commit 986eb23

Please sign in to comment.