diff options
author | Erik Johnston <erik@matrix.org> | 2016-09-22 10:56:53 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-09-22 10:56:53 +0100 |
commit | 1168cbd54db059cefdf968077f6b14163de6c04c (patch) | |
tree | d4cb9f2abc0b7f67cd03eb2fb37e9810cfc82dce /scripts-dev | |
parent | Merge pull request #1134 from matrix-org/erikj/fix_stream_public_deletion (diff) | |
download | synapse-1168cbd54db059cefdf968077f6b14163de6c04c.tar.xz |
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.
Diffstat (limited to 'scripts-dev')
0 files changed, 0 insertions, 0 deletions