forked-synapse/synapse/api
Erik Johnston 1168cbd54d Allow invites via 3pid to bypass sender sig check
When a server sends a third party invite another server may be the one
that the inviting user registers with. In this case it is that remote
server that will issue an actual invitation, and wants to do it "in the
name of" the original invitee. However, the new proper invite will not
be signed by the original server, and thus other servers would reject
the invite if it was seen as coming from the original user.

To fix this, a special case has been added to the auth rules whereby
another server can send an invite "in the name of" another server's
user, so long as that user had previously issued a third party invite
that is now being accepted.
2016-09-22 10:56:53 +01:00
..
__init__.py copyrights 2016-01-07 04:26:29 +00:00
auth.py Allow invites via 3pid to bypass sender sig check 2016-09-22 10:56:53 +01:00
constants.py Move ThirdPartyEntityKind into api.constants so the expectation becomes that the value is significant 2016-08-25 18:34:47 +01:00
errors.py Implement https://github.com/matrix-org/matrix-doc/pull/346/files 2016-07-08 17:42:48 +01:00
filtering.py Add 'contains_url' to filter 2016-07-14 15:35:48 +01:00
ratelimiting.py copyrights 2016-01-07 04:26:29 +00:00
urls.py APP_SERVICE_PREFIX is never used; don't bother 2016-08-25 18:06:05 +01:00