GNOME Bugzilla – Bug 579992
Import of XMPP accounts sets port
Last modified: 2009-06-05 14:24:46 UTC
Please describe the problem: empathy imported my pidgin account automatically, but gave me "network error" when trying to connect. With a bit of help, I tracked this down to gabble not doing SRV lookups when port is set. I see in my pidgin preferences that port is set to 5222, but host is blank. I saw the same in empathy's preferences, but there was no way for me to clear the port field. Setting it to "0" or just blanking it would reset it to 5222. Steps to reproduce: 1. create jabber account in pidgin, on server that's reachable via SRV records 2. start empathy, import account 3. see if fail to connect Actual results: It fails to connect due to not doing SRV lookups Expected results: It would connect and I would see my contacts on the list Does this happen every time? Yes Other information:
We decided that if pidgin has an account with port 5222 but no host name set, then it should ignore the port field, as a special case in XMPP. I'll get onto this soonish.
I've fixed this in the following branch: http://git.collabora.co.uk/?p=user/jonny/empathy.git;a=shortlog;h=refs/heads/579992 The other commit also gets around a "bug" in importing accounts from pidgin.
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.