purple-pulsesms icon indicating copy to clipboard operation
purple-pulsesms copied to clipboard

Sent messages are doubled

Open mlyszczek opened this issue 6 years ago • 4 comments

Problem:

Sent messages are doubled in 'finch', so conversation looks like it

user a: sent message
user a: sent message
user b: received message
user a: sent message no2
user a: sent message no2
user b: received message no2

First 'sent message' shows immediately in chat window, it is probably local, but then after some time another copy of 'sent message' appears (with different timestamp). It is most likely that second copy of message is sent from the server.

Does anyone else has this issue as well? Plugin was built from c7731614e410d47305761b7dcc88ce5a61e3eeef commit and Finch 2.13.0

mlyszczek avatar Jan 04 '19 12:01 mlyszczek

Whoops, this should have been on the list of Known Issues - just the way the PulseSMS server is currently set up, we don't have any simple way to check if the message we've sent came from Pidgin or from the website.

At the moment, we either have the option of not displaying self-sent messages from PulseSMS/the phone, or getting the duplicate sent messages. There's also the possibility of not displaying the message sent from Pidgin at all, and waiting for (up to) 60s for the server to tell us the message that we sent, but that wouldn't be a great user experience.

EionRobb avatar Jan 04 '19 23:01 EionRobb

@EionRobb I notice a similar issue with contacts. If I message a contact from my list, I receive the duplicate the message from a second contact, not in my contact list, with the same number. (The duplicate contact is apparently "consistent," though, in the sense that the same contact is always created, judging by message logs.) Could this be explained by the same server configuration issues? I can file a separate issue otherwise.

Excellent plugin, in any case. Your plugins are almost single-handedly keeping Pidgin/Finch useful in the current messaging ecosystem.

marcxjo avatar Jan 05 '19 15:01 marcxjo

Is there an option suppose to be available to not display self sent messages? so it just pulls it from the server? I'm not seeing that option inside the plugin pref.

silentjon avatar May 20 '20 18:05 silentjon

@silentjon there isn't, but that might be a nice workaround

EionRobb avatar May 20 '20 21:05 EionRobb