You are reading content from Scuttlebutt
@mmckegg %iYKRI2BDsEuDx1Z0iA7J+ShN7k7KoVgyA4CXkKu+goI=.sha256
Re: %tk4J6MMK7

Yeah, this comes up once in a while. It is also a problem that if you post a message from the future, your message will stay at the top of the public feed for a while.

But how do you solve this?

I suppose a simple hack would be to assume that if the message claims to be written (msg.value.timestamp) after the time you received the message (msg.timestamp), assume it is wrong and instead use the receive time instead.

This would be as simple as a Math.min(msg.value.timestamp, msg.timestamp)!

I might give this a go!

Join Scuttlebutt now