Retrieve user id from RoomMember instead of reconstructing.
parent
82827542b7
commit
ac069152b9
|
@ -395,10 +395,7 @@ impl Room {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
self.members.insert(
|
self.members.insert(new_member.user_id.clone(), new_member);
|
||||||
UserId::try_from(event.state_key.as_str()).unwrap(),
|
|
||||||
new_member,
|
|
||||||
);
|
|
||||||
|
|
||||||
true
|
true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue