[State] Fix stateKeyUser getter
This commit is contained in:
parent
2314fa0e09
commit
95b20ea41c
|
@ -64,6 +64,8 @@ class RoomState {
|
|||
/// the overwriting semantics for this piece of room state.
|
||||
final String stateKey;
|
||||
|
||||
User get stateKeyUser => room.states[stateKey]?.asUser ?? User(stateKey);
|
||||
|
||||
RoomState(
|
||||
{this.content,
|
||||
this.typeKey,
|
||||
|
|
Loading…
Reference in a new issue