echoplexus
echoplexus copied to clipboard
Client messages get added behind previous server messages if the client's clock is wrong.
Possible fix: Get the time difference between the client and the server, and use that to fix the relative times.
maybe client messages should use a Math.max(latestmessageTimestamp, new Date())