Always strive to stay connected to persistent rooms
We should always try to reconnect to a persistent room, in most cases. For example when connection to the server is lost, we should (of course) inform our XMPP user, and then immediately try to rejoin all the persistent rooms, to continue logging the messages until the XMPP user actually decides to re-join.
Also, when restarting the gateway entirely, that’s #3257.