summary refs log tree commit diff
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-05-05 15:39:09 +0100
committerMark Haines <mark.haines@matrix.org>2015-05-05 15:39:09 +0100
commitd0fece8d3c4e9db3652785e41176e2a4241eebe1 (patch)
treeb11f650e5aed76fa0862cdfb5bba6910fe71cc43
parentInvalidate the caches from the correct thread (diff)
downloadsynapse-d0fece8d3c4e9db3652785e41176e2a4241eebe1.tar.xz
Missing return for when the event was already persisted
-rw-r--r--synapse/storage/events.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/events.py b/synapse/storage/events.py
index b2ab4b02f3..16359e876c 100644
--- a/synapse/storage/events.py
+++ b/synapse/storage/events.py
@@ -202,7 +202,7 @@ class EventsStore(SQLBaseStore):
                     sql,
                     (False, event.event_id,)
                 )
-            return
+            return invalidates
 
         self._handle_prev_events(
             txn,