mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-19 21:44:11 -04:00
Use direct references for configuration variables (part 6). (#10916)
This commit is contained in:
parent
8cef1ab2ac
commit
94b620a5ed
54 changed files with 141 additions and 132 deletions
|
@ -397,7 +397,7 @@ class ProfileHandler(BaseHandler):
|
|||
# when building a membership event. In this case, we must allow the
|
||||
# lookup.
|
||||
if (
|
||||
not self.hs.config.limit_profile_requests_to_users_who_share_rooms
|
||||
not self.hs.config.server.limit_profile_requests_to_users_who_share_rooms
|
||||
or not requester
|
||||
):
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue