mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-03-01 07:51:06 -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.