Avoid duplicating message (resending) for a 3rd party client (using the API)
Introduce this situation
My client send a message to a room, what it do currently:
- automatically handle drawing UI to provide offline mode
- draw UI from Faye on new message
And here I got message duplicating (resending)
I just can't reject draw UI if it's sent from me(sender), because message can be sent from other clients, so it would be wrong
In practice: Screen_Recording_2020-03-31_at_11.55.51_PM
explained: first messages sent from my client, the others messages sent from another client
Edited by Eric Eastwood