mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-03-06 20:25:54 -05:00

The logic for marking invites as locally rejected was all well and good, but didn't happen when the remote server returned a 500, or wasn't reachable, or had no DNS, or whatever. Just expand the except clause to catch everything. Fixes https://github.com/matrix-org/synapse/issues/761.