summary refs log tree commit diff
path: root/synapse/handlers/room.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-02-25 10:10:57 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2020-02-25 10:10:57 +0000
commitbf7b7a8e238625294dae1545157d8959bd4e38c8 (patch)
tree17dd26b39e61bb8e1aca5e6f70b7400e3ac61329 /synapse/handlers/room.py
parentOpentrace device lists (#5853) (diff)
parentRemove double return statements (#5962) (diff)
downloadsynapse-bf7b7a8e238625294dae1545157d8959bd4e38c8.tar.xz
Remove double return statements (#5962)
Diffstat (limited to 'synapse/handlers/room.py')
-rw-r--r--synapse/handlers/room.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py
index c1e5b6bd1b..6bfd9f1231 100644
--- a/synapse/handlers/room.py
+++ b/synapse/handlers/room.py
@@ -879,7 +879,6 @@ class RoomContextHandler(object):
         )
         if not event:
             return None
-            return
 
         filtered = yield (filter_evts([event]))
         if not filtered: