mirror of
https://github.com/element-hq/synapse
synced 2024-08-20 22:30:21 +00:00
Make sure we check AS groups for lookup on bulk
This commit is contained in:
parent
b1edf26051
commit
5b48eec4a1
1 changed files with 5 additions and 0 deletions
|
@ -421,4 +421,9 @@ class GroupsLocalHandler(object):
|
|||
uid
|
||||
)
|
||||
|
||||
# Check AS associated groups for this user - this depends on the
|
||||
# RegExps in the AS registration file (under `users`)
|
||||
for app_service in self.store.get_app_services():
|
||||
results[uid].extend(app_service.get_groups_for_user(uid))
|
||||
|
||||
defer.returnValue({"users": results})
|
||||
|
|
Loading…
Reference in a new issue