mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-29 07:42:40 +00:00
Merge pull request #1269 from vector-im/no_low_priority_room_in_people_tab
UX rework: low priority people rooms shouldn't be displayed in the pe…
This commit is contained in:
commit
a9b69986bd
1 changed files with 2 additions and 2 deletions
|
@ -1009,8 +1009,8 @@ NSString *const kRecentsDataSourceTapOnDirectoryServerChange = @"kRecentsDataSou
|
|||
}
|
||||
else if (_recentsDataSourceMode == RecentsDataSourceModePeople)
|
||||
{
|
||||
// Keep only the direct rooms.
|
||||
if (room.isDirect)
|
||||
// Keep only the direct rooms which are not low priority
|
||||
if (room.isDirect && room.accountData.tags[kMXRoomTagLowPriority])
|
||||
{
|
||||
if (room.state.membership == MXMembershipInvite)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue