summary refs log tree commit diff
path: root/synapse/storage/rejections.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-04-04 14:43:57 +0100
committerErik Johnston <erik@matrix.org>2019-04-04 14:43:57 +0100
commit8467756dc124e305a7d2d5cd211c98ea3ea2d469 (patch)
tree61df74bd18b107866f413f3a249492025033f390 /synapse/storage/rejections.py
parentMerge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes (diff)
parentClean up the database pagination code (#5007) (diff)
downloadsynapse-8467756dc124e305a7d2d5cd211c98ea3ea2d469.tar.xz
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
Diffstat (limited to 'synapse/storage/rejections.py')
-rw-r--r--synapse/storage/rejections.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/synapse/storage/rejections.py b/synapse/storage/rejections.py

index 880f047adb..f4c1c2a457 100644 --- a/synapse/storage/rejections.py +++ b/synapse/storage/rejections.py
@@ -36,9 +36,7 @@ class RejectionsStore(SQLBaseStore): return self._simple_select_one_onecol( table="rejections", retcol="reason", - keyvalues={ - "event_id": event_id, - }, + keyvalues={"event_id": event_id}, allow_none=True, desc="get_rejection_reason", )