summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--synapse/storage/filtering.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/filtering.py b/synapse/storage/filtering.py
index e7ec43cf97..9101f57288 100644
--- a/synapse/storage/filtering.py
+++ b/synapse/storage/filtering.py
@@ -55,7 +55,7 @@ class FilteringStore(SQLBaseStore):
                 "SELECT filter_id FROM user_filters "
                 "WHERE user_id = ? AND filter_json = ?"
             )
-            txn.execute(sql, (user_localpart,def_json))
+            txn.execute(sql, (user_localpart, def_json))
             filter_id = txn.fetchone()[0]
             if filter_id is not None:
                 return filter_id