mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-24 18:42:47 +02:00
Prepare UX rework:
- Update correctly tab bar title - Add Invites section in the Rooms tab
This commit is contained in:
@@ -602,8 +602,12 @@
|
||||
id<MXKRecentCellDataStoring> recentCellDataStoring = [recentsDataSource cellDataAtIndex:index];
|
||||
MXRoom* room = recentCellDataStoring.roomSummary.room;
|
||||
|
||||
// Keep only the rooms without tag
|
||||
if (!room.accountData.tags.count)
|
||||
// Keep only the invites and the rooms without tag
|
||||
if (room.state.membership == MXMembershipInvite)
|
||||
{
|
||||
[invitesCellDataArray addObject:recentCellDataStoring];
|
||||
}
|
||||
else if (!room.accountData.tags.count)
|
||||
{
|
||||
[conversationCellDataArray addObject:recentCellDataStoring];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user