forked-synapse/synapse/handlers
Richard van der Hoff fa74fcf512 Work around email-spamming Riot bug
5d9546f9 introduced a change to synapse behaviour, in that failures in the
interactive-auth process would return the flows and params data as well as an
error code (as specced in https://github.com/matrix-org/matrix-doc/pull/397).

That change exposed a bug in Riot which would make it request a new validation
token (and send a new email) each time it got a 401 with a `flows` parameter
(see https://github.com/vector-im/vector-web/issues/2447 and the fix at
https://github.com/matrix-org/matrix-react-sdk/pull/510).

To preserve compatibility with broken versions of Riot, grandfather in the old
behaviour for the email validation stage.
2016-10-11 11:34:40 +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 Work around email-spamming Riot bug 2016-10-11 11:34:40 +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 Add comments 2016-09-22 11:59:46 +01:00
identity.py requestToken update 2016-06-30 17:51:28 +01:00
initial_sync.py Support /initialSync in synchrotron worker 2016-09-21 11:46:28 +01:00
message.py Support /initialSync in synchrotron worker 2016-09-21 11:46:28 +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 Move FEDERATION_PING_INTERVAL timer. Update log line 2016-09-23 15:43:34 +01:00