mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-30 21:26:57 +02:00
Moving to R0 API: userId has been removed from MXEvent.
Note the impacted code was removed because it was wrong. Curiously, it was followed by a code block that does things right
This commit is contained in:
@@ -232,15 +232,6 @@
|
||||
{
|
||||
// Take into account updated member
|
||||
// Ignore here change related to the current user (this change is handled by leaveRoomNotificationObserver)
|
||||
if ([event.userId isEqualToString:self.mxRoom.mxSession.myUser.userId] == NO)
|
||||
{
|
||||
MXRoomMember *mxMember = [self.mxRoom.state memberWithUserId:event.userId];
|
||||
if (mxMember)
|
||||
{
|
||||
[self addRoomMemberToParticipants:mxMember];
|
||||
}
|
||||
}
|
||||
|
||||
if ([event.stateKey isEqualToString:self.mxRoom.mxSession.myUser.userId] == NO)
|
||||
{
|
||||
MXRoomMember *mxMember = [self.mxRoom.state memberWithUserId:event.stateKey];
|
||||
|
||||
Reference in New Issue
Block a user