Merge branch 'room-fix-setstate' into 'master'
[Room] Fix setState See merge request famedly/famedlysdk!224
This commit is contained in:
commit
ec16fa5f28
|
@ -217,7 +217,7 @@ class Room {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ((getState(state.typeKey)?.time?.millisecondsSinceEpoch ?? 0) >
|
if ((getState(state.typeKey)?.time?.millisecondsSinceEpoch ?? 0) >
|
||||||
state.time.millisecondsSinceEpoch) {
|
(state.time?.millisecondsSinceEpoch ?? 1)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!states.states.containsKey(state.typeKey)) {
|
if (!states.states.containsKey(state.typeKey)) {
|
||||||
|
|
Loading…
Reference in a new issue