Fix XMPP not reconnecting after failed connection
Review Request #1455 — Created May 20, 2022 and submitted — Latest diff uploaded
After all the SRV hosts have been tried and they all failed, we should signal that a connection failure has occured.
Tried connecting to test@example.com. Before the patch, it just tried once then stopped. After the patch, it keeps retrying (with a timeout of a few seconds between).