Fix room state log changing on room reload
There is a bug when you create a group and view the timeline, the branch that will execute is Text("*\(sender) sent an unknown message (\(message.type))*")
due to message.stateKey
being nil
. However if you go back and re-enter the group room, the timeline will then print Text("*\(sender) updated the \(roomType) state*")
since the message.stateKey
is updated to the empty string ""
.
I figured I would remove the conditional branch to prevent this issue.