basic chat example does not preserve order

Hi
I'm starting out with the basic example from
https://github.com/gamestdio/colyseus-examples

and it seems that the state sync does not preserve the order of the messages array

what am i missing?

Hi @amir-arad, oh that's true. I've just created an issue for this: https://github.com/endel/delta-listener/issues/6

I also need to update the "chat" example, because that's not the most optimal way of handling chat. The messages on a chat should be ephemeral and not preserved in the room's state.

The "state handler" is a much better example of how to use the platform: https://github.com/gamestdio/colyseus-examples/blob/master/rooms/02-state-handler.ts

Sorry for the inconvenience! :)
Cheers