mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-17 15:09:31 +02:00
Added comments to room state
Renamed getMemner into memberWithUserId
This commit is contained in:
@@ -249,7 +249,7 @@ NSString *const kFailedEventId = @"failedEventId";
|
||||
self.roomNavItem.title = mxRoom.state.displayname;
|
||||
|
||||
// Join the room if the user is not already listed in room's members
|
||||
if ([mxRoom.state getMember:mxHandler.userId] == nil) {
|
||||
if ([mxRoom.state memberWithUserId:mxHandler.userId] == nil) {
|
||||
isJoinRequestInProgress = YES;
|
||||
[_activityIndicator startAnimating];
|
||||
[mxHandler.mxRestClient joinRoom:self.roomId success:^{
|
||||
@@ -648,7 +648,7 @@ NSString *const kFailedEventId = @"failedEventId";
|
||||
|
||||
// Set user's picture
|
||||
cell.placeholder = @"default-profile";
|
||||
cell.pictureURL = [mxRoom.state getMember:mxEvent.userId].avatarUrl;
|
||||
cell.pictureURL = [mxRoom.state memberWithUserId:mxEvent.userId].avatarUrl;
|
||||
} else {
|
||||
// Adjust display of other messages of the chunk
|
||||
cell.pictureView.hidden = YES;
|
||||
|
||||
Reference in New Issue
Block a user