summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorManuel Stahl <37705355+awesome-manuel@users.noreply.github.com>2020-01-08 14:26:40 +0100
committerRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2020-01-08 13:26:40 +0000
commit7caaa29daab7bde331dcec0bb760a8fe5870f18e (patch)
tree5de5303bb70984654a498788ebe3a6b34b4f1890 /synapse
parentBack out ill-advised notary server hackery (#6657) (diff)
downloadsynapse-7caaa29daab7bde331dcec0bb760a8fe5870f18e.tar.xz
Fix GET request on /_synapse/admin/v2/users endpoint (#6563)
Fixes #6552 
Diffstat (limited to 'synapse')
-rw-r--r--synapse/storage/data_stores/main/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/storage/data_stores/main/__init__.py b/synapse/storage/data_stores/main/__init__.py
index c577c0df5f..2700cca822 100644
--- a/synapse/storage/data_stores/main/__init__.py
+++ b/synapse/storage/data_stores/main/__init__.py
@@ -526,9 +526,9 @@ class DataStore(
 
         attr_filter = {}
         if not guests:
-            attr_filter["is_guest"] = False
+            attr_filter["is_guest"] = 0
         if not deactivated:
-            attr_filter["deactivated"] = False
+            attr_filter["deactivated"] = 0
 
         return self.db.simple_select_list_paginate(
             desc="get_users_paginate",