0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 14:24:05 +01:00

Make sure we check AS groups for lookup on bulk

This commit is contained in:
Luke Barnard 2017-11-16 17:55:15 +00:00
parent b1edf26051
commit 5b48eec4a1

View file

@ -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})