Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lazy loading: Try to mitigate unexpected "Empty room" #599

Merged
merged 3 commits into from
Nov 30, 2018

Conversation

manuroe
Copy link
Contributor

@manuroe manuroe commented Nov 20, 2018

element-hq/element-ios#2020

This will not work every time but, at least, we now log the issue when it happens.

This will not work every time but, at least, we now log the issue when it happens.
for (MXRoomMember *member in otherMembers)
{
NSString *memberName = [roomState.members memberName:member.userId];
[memberNames addObject:memberName];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

memberName: could return nil. Check for nullability before add to memberNames

}
else
{
//
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe a legacy comment ?

@manuroe manuroe merged commit 0453454 into develop Nov 30, 2018
@manuroe manuroe deleted the mitigate_empty_room branch November 30, 2018 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants