summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-02-03 10:40:14 +0000
committerErik Johnston <erik@matrix.org>2015-02-03 10:40:14 +0000
commit51969f9e5f4774e4d0ddcc2e8ebcf96803cbf295 (patch)
treeb2f1a6630b611f245ee3dd09e4837b12292bd170 /synapse
parentTry to ensure we don't persist an event we have already persisted. In persist... (diff)
downloadsynapse-51969f9e5f4774e4d0ddcc2e8ebcf96803cbf295.tar.xz
Return rejected events if asked for it over federation.
Diffstat (limited to '')
-rw-r--r--synapse/handlers/federation.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py
index c384789c2f..0161fbe49c 100644
--- a/synapse/handlers/federation.py
+++ b/synapse/handlers/federation.py
@@ -632,6 +632,7 @@ class FederationHandler(BaseHandler):
         event = yield self.store.get_event(
             event_id,
             allow_none=True,
+            allow_rejected=True,
         )
 
         if event: