mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 17:12:45 +02:00
Feature/3616 privacy on login
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user