After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 347383 - Sends messages from wrong JID
Sends messages from wrong JID
Status: RESOLVED FIXED
Product: gossip
Classification: Deprecated
Component: General
0.12
Other Linux
: Normal normal
: ---
Assigned To: Gossip Maintainers
Gossip Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-07-13 09:35 UTC by Ross Burton
Modified: 2006-07-26 13:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Might help (14.25 KB, patch)
2006-07-25 14:06 UTC, Richard Hult
none Details | Review

Description Ross Burton 2006-07-13 09:35:17 UTC
Gossip is configured with several accounts, including my personal account ross@burtonini.com and my work account, ross@openedhand.com.  In my @openedhand roster is a contact foo@openedhand.com.  foo@openedhand.com is not in the burtonini.com roster, I've verified this in both Gossip and Gaim.

When I double-click on foo@openedhand.com the message is sent from the ross@burtonini.com JID, which means replies come back to me in another chat window.

This isn't just a cosmetic issue, as all work chat should be travelling over encrypted channels, and if the mails are sent via burtonini.com they are not encrypted.
Comment 1 Richard Hult 2006-07-21 22:58:45 UTC
I've only seen this happening when the contact is in both accounts' rosters. Could you please double check that that is not the case (like a oneway subscription so that the item is not just visible). For example by running gossip with LM_DEBUG=net.

Comment 2 Ross Burton 2006-07-25 13:46:32 UTC
OK, this just happened again.  I started chatting and my messages where from the correct JID, and after a minute (seriously, only four lines had been sent) Gossip started sending from the other JID.
Comment 3 Richard Hult 2006-07-25 14:06:08 UTC
Created attachment 69581 [details] [review]
Might help

Could you try this patch please? It changes how the account to send from is looked up.
Comment 4 Richard Hult 2006-07-26 13:53:59 UTC
Committed, please let me know if you can still reproduce.