Pushers should only try & look for rejected devices in something that's a list or tuple.

pull/4/merge
David Baker 10 years ago
parent 5f84ba8ea1
commit efac71d6ca
  1. 2
      synapse/push/__init__.py

@ -173,7 +173,7 @@ class Pusher(object):
processed = True
else:
rejected = yield self.dispatch_push(single_event, tweaks)
if not rejected is False:
if isinstance(rejected, list) or isinstance(rejected, tuple):
processed = True
for pk in rejected:
if pk != self.pushkey:

Loading…
Cancel
Save