anonymousland-synapse/synapse/handlers
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 Make synchrotron accept /events 2016-08-12 15:31:44 +01:00
_base.py Replace context.current_state with context.current_state_ids 2016-08-25 17:32:22 +01:00
account_data.py copyrights 2016-01-07 04:26:29 +00:00
admin.py copyrights 2016-01-07 04:26:29 +00:00
appservice.py Reject malformed 3PE query metadata results earlier in AS API handling code 2016-09-09 15:07:04 +01:00
auth.py Refactor user_delete_access_tokens. Invalidate get_user_by_access_token to slaves. 2016-08-15 17:04:39 +01:00
device.py make device IDs more useful for human disambiguation 2016-09-13 00:02:39 +01:00
devicemessage.py Add a new method to enqueue the device messages rather than sending a dummy EDU 2016-09-07 16:10:51 +01:00
directory.py Use state handler instead of get_users_in_room/get_joined_hosts 2016-08-26 14:54:30 +01:00
e2e_keys.py Limit how often we ask for keys from dead servers 2016-09-13 11:53:50 +01:00
events.py Use state handler instead of get_users_in_room/get_joined_hosts 2016-08-26 14:54:30 +01:00
federation.py Allow invites via 3pid to bypass sender sig check 2016-09-22 10:56:53 +01:00
identity.py requestToken update 2016-06-30 17:51:28 +01:00
message.py Use get_joined_users_from_context instead of manually looking up hosts 2016-09-05 13:44:40 +01:00
presence.py Fix typo "persiting" 2016-09-13 13:26:33 +01:00
profile.py Add create_requester function 2016-07-26 16:46:53 +01:00
receipts.py Clobber EDUs in send queue 2016-09-09 15:59:08 +01:00
register.py Forbid non-ASes from registering users whose names begin with '_' (SYN-738) 2016-07-27 17:54:26 +01:00
room_list.py Add total_room_count_estimate to /publicRooms 2016-09-21 13:30:05 +01:00
room_member.py Fix membership changes to be idempotent 2016-09-02 19:23:22 +01:00
room.py Move RoomListHandler into a separate file 2016-09-14 14:07:37 +01:00
search.py move filter_events_for_client out of base handler 2016-05-11 13:42:37 +01:00
sync.py Only return new device messages in /sync 2016-09-02 15:50:37 +01:00
typing.py Clobber EDUs in send queue 2016-09-09 15:59:08 +01:00