Impossible to change port back after modifying it
Submitted by Jonny Lamb
Link to original bug (#579310)
Description
I loaded up the account editing dialog, selected an XMPP account and changed the server settings from their original state which was an empty string for Server and 0 for the port. This worked fine.
I then wanted to change these back to their original values. I could change the server back to an empty string, but I can't return the port number to 0. The lowest it will go is 1, and then connecting fails, as I'm not running my XMPP server on port 1.