summary refs log tree commit diff
path: root/synapse/handlers/directory.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2017-04-21 01:22:07 +0100
committerRichard van der Hoff <richard@matrix.org>2017-04-21 01:31:37 +0100
commit838810b76af338ecd5d2a34409b4e6ca78daaddb (patch)
treeec4091572f83f85f6180e4db795cf509d65397b0 /synapse/handlers/directory.py
parentRemove redundant function (diff)
downloadsynapse-838810b76af338ecd5d2a34409b4e6ca78daaddb.tar.xz
Broaden the conditions for locally_rejecting invites
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.
Diffstat (limited to 'synapse/handlers/directory.py')
0 files changed, 0 insertions, 0 deletions