The source project of this merge request has been removed.
XEP-0260 <candidate port="" /> is optional
XEP-0065 specifies that the defalt is 1080.
Previously, sending Gajim a with no port would result in a backtrace, since int() does not accept NoneType. Now it will correctly fall back to the default port.