mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 20:54:50 -04:00
Stop looking up "admin", which we never read
This commit is contained in:
parent
57619d6058
commit
a9d8bd95e7
9 changed files with 5 additions and 24 deletions
|
@ -281,7 +281,6 @@ class MemoryDataStore(object):
|
|||
try:
|
||||
return {
|
||||
"name": self.tokens_to_users[token],
|
||||
"admin": 0,
|
||||
}
|
||||
except:
|
||||
raise StoreError(400, "User does not exist.")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue