mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-30 21:26:57 +02:00
Email invitation: Room participants: Show 3pid invite
This commit is contained in:
@@ -294,6 +294,7 @@
|
||||
{
|
||||
NSArray *members = self.mxRoom.state.members;
|
||||
NSString *userId = self.mxRoom.mxSession.myUser.userId;
|
||||
NSArray *roomThirdPartyInvites = self.mxRoom.state.thirdPartyInvites;
|
||||
|
||||
for (MXRoomMember *mxMember in members)
|
||||
{
|
||||
@@ -311,6 +312,11 @@
|
||||
[self addRoomMemberToParticipants:mxMember];
|
||||
}
|
||||
}
|
||||
|
||||
for (MXRoomThirdPartyInvite *roomThirdPartyInvite in roomThirdPartyInvites)
|
||||
{
|
||||
[self addRoomRoomThirdPartyInviteToParticipants:roomThirdPartyInvite];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -426,6 +432,14 @@
|
||||
}
|
||||
}
|
||||
|
||||
- (void)addRoomRoomThirdPartyInviteToParticipants:(MXRoomThirdPartyInvite*)roomThirdPartyInvite
|
||||
{
|
||||
Contact *contact = [[Contact alloc] initMatrixContactWithDisplayName:roomThirdPartyInvite.displayname andMatrixID:nil];
|
||||
mxkContactsById[roomThirdPartyInvite.token] = contact;
|
||||
|
||||
[mutableParticipants addObject:roomThirdPartyInvite.token];
|
||||
}
|
||||
|
||||
- (void)addPendingActionMask
|
||||
{
|
||||
// Add a spinner above the tableview to avoid that the user tap on any other button
|
||||
|
||||
Reference in New Issue
Block a user