Merge branch 'notification-hotfix-sender-missing-mxid' into 'master'
[Room] fix users generated by getUserByMXID See merge request famedly/famedlysdk!65
This commit is contained in:
commit
d2c4f7c6ed
|
@ -503,6 +503,8 @@ class Room {
|
|||
type: HTTPType.GET,
|
||||
action: "/client/r0/rooms/$id/state/m.room.member/$mxID");
|
||||
if (resp is ErrorResponse) return null;
|
||||
// Somehow we miss the mxid in the response and only get the content of the event.
|
||||
resp["matrix_id"] = mxID;
|
||||
return User.fromJson(resp, this);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue