[RoomState] Fix asUser in State
This commit is contained in:
parent
2061b96992
commit
cccc8d181a
|
@ -36,7 +36,7 @@ class RoomState extends RawEvent {
|
|||
/// the overwriting semantics for this piece of room state.
|
||||
final String stateKey;
|
||||
|
||||
User get stateKeyUser => room.states[stateKey] ?? User(stateKey);
|
||||
User get stateKeyUser => room.states[stateKey].asUser ?? User(stateKey);
|
||||
|
||||
RoomState(
|
||||
{this.prevContent,
|
||||
|
|
Loading…
Reference in a new issue