kamax-matrix / matrix-appservice-email

Matrix <--> E-mail Bridge
GNU Affero General Public License v3.0
39 stars 11 forks source link

Retry accepting invites if it initially fails #25

Closed turt2live closed 5 years ago

turt2live commented 5 years ago

Synapse has an annoying bug where the invite can hit the appservice/client before it is capable of responding to that invite, and often throws back either a 500 or "You are not invited to that room" error. To work around this, the best approach is to retry accepting the invite on some sort of schedule. I'd recommend max 5 retries, 30 seconds apart.

maxidorius commented 5 years ago

Given this is a synapse bug, it's up to them to fix their broken behaviour. No workaround will be added to the bridge for it.