mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-01-27 16:57:00 -05:00
74c46d81fa
There are a number of instances where a server or admin may puppet a user to join/leave rooms, which we don't want to fail if the user has not consented to the privacy policy. We fix this by adding a check to test if the requester has an associated access_token, which is used as a proxy to answer the question of whether the action is being done on behalf of a real request from the user.