Feature/3616 privacy on login

This commit is contained in:
Frank Rotermund
2022-12-04 10:47:42 +00:00
parent 3ea3cfd4cf
commit b23657a4a1
16 changed files with 261 additions and 63 deletions
@@ -615,10 +615,7 @@
self->userParticipant.mxMember = [roomState.members memberWithUserId:userId];
}
}
else
{
[self handleRoomMember:mxMember];
}
[self handleRoomMember:mxMember];
}
for (MXRoomThirdPartyInvite *roomThirdPartyInvite in roomThirdPartyInvites)
@@ -1004,7 +1001,7 @@
modSection = count++;
}
if (userParticipant || actualParticipants.count)
if (actualParticipants.count)
{
participantsSection = count++;
}
@@ -1031,10 +1028,6 @@
else
{
count = actualParticipants.count;
if (userParticipant)
{
count++;
}
}
}
else if (section == adminSection)
@@ -1560,11 +1553,6 @@
filteredModParticipants = [NSMutableArray arrayWithArray:modParticipants];
filteredAdminParticipants = [NSMutableArray arrayWithArray:adminParticipants];
// Add the current user if he belongs to the room members.
if (userParticipant)
{
[filteredActualParticipants addObject:userParticipant];
}
}
currentSearchText = searchText;