singpolyma / cheogram

Moved to https://git.singpolyma.net/cheogram
https://cheogram.com
GNU Affero General Public License v3.0
27 stars 5 forks source link

Add "rejoin on kick" feature #66

Open ossguy opened 7 years ago

ossguy commented 7 years ago

Sometimes a MUC will kick the user, ie. if the server it's hosted by is shutting down. It would be nice if Cheogram reconnected to the MUC automatically in such cases, rather than requiring the user to do so manually. Cheogram should be careful to avoid a rejoin if the reason for being kicked is due to the user being banned, or other "unrecoverable" errors.

This feature is made more important by the related issue of Cheogram being unable to inform the user that they've left a MUC if that MUC is hosted by the same server as Cheogram is connected to and the reason for the disconnection is that the server is restarting, as was the case in #64.