Merge branch 'user-fix-membership' into 'master'
[User] Membership getter nullcheck fix See merge request famedly/famedlysdk!139
This commit is contained in:
commit
9979885168
|
@ -97,7 +97,7 @@ class User extends RoomState {
|
|||
return e.toString() == 'Membership.' + content['membership'];
|
||||
}
|
||||
return false;
|
||||
});
|
||||
}, orElse: () => Membership.join);
|
||||
|
||||
/// The avatar if the user has one.
|
||||
MxContent get avatarUrl => content != null && content["avatar_url"] is String
|
||||
|
|
Loading…
Reference in a new issue