Opened 3 years ago

Last modified 2 years ago

#17010 new defect

Group chat (XMPP): message is sent multiple times

Reported by: thesourcehim Owned by: deryni
Milestone: Component: XMPP
Version: 2.10.12 Keywords:
Cc: jrchamp

Description

Problem appears when for some reason pidgin connects to one conference multiple times. You can force this by clicking connect on chat entry context menu. Each click on connect adds another copy of all following messages. For example, if you press connect 5 times on already connected chat and then send 'Hello' to chat, Hello is going to be displayed 6 times in a row. The same thing with any messages sent by other chat users, everything is multiplied. Other users (with different clients) don't see those duplicates though, only pidgin shows them.

Change History (1)

comment:1 Changed 2 years ago by jrchamp

I'm seeing this also. It looks like there might be multiple connections somewhere because the raw message attributes do not all match. The message contents are all the same and the message[id] should be a straightforward way to at least de-duplicate what gets displayed on the client side.

Example:

Pidgin Debug Log : Mon 14 Nov 2016 06:04:22 PM EST
(18:01:16) jabber: Sending (ssl) (jrchamp@ncsu.edu/D1F6D21A): <message type='groupchat' id='purple83c0c544' to='developers@conference.moodle.org'><body>Yeah, looks like there&apos;s a few issues in their tracker for the chat issue. Hopefully they&apos;ll fix it soon.</body></message>
(18:01:17) jabber: Recv (ssl)(251): <message type="groupchat" to="jrchamp@ncsu.edu" from="developers@conference.moodle.org/Jonathan Champ" id="purple83c0c544"><body>Yeah, looks like there's a few issues in their tracker for the chat issue. Hopefully they'll fix it soon.</body></message>
(18:01:17) jabber: Recv (ssl)(251): <message type="groupchat" to="jrchamp@ncsu.edu" from="developers@conference.moodle.org/Jonathan Champ" id="purple83c0c544"><body>Yeah, looks like there's a few issues in their tracker for the chat issue. Hopefully they'll fix it soon.</body></message>
(18:01:17) jabber: Recv (ssl)(260): <message type="groupchat" to="jrchamp@ncsu.edu/D1F6D21A" from="developers@conference.moodle.org/Jonathan Champ" id="purple83c0c544"><body>Yeah, looks like there's a few issues in their tracker for the chat issue. Hopefully they'll fix it soon.</body></message>
(18:01:17) jabber: Recv (ssl)(251): <message type="groupchat" to="jrchamp@ncsu.edu" from="developers@conference.moodle.org/Jonathan Champ" id="purple83c0c544"><body>Yeah, looks like there's a few issues in their tracker for the chat issue. Hopefully they'll fix it soon.</body></message>
(18:01:17) jabber: Recv (ssl)(251): <message type="groupchat" to="jrchamp@ncsu.edu" from="developers@conference.moodle.org/Jonathan Champ" id="purple83c0c544"><body>Yeah, looks like there's a few issues in their tracker for the chat issue. Hopefully they'll fix it soon.</body></message>
Note: See TracTickets for help on using tickets.
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!