synapse-old/synapse/handlers
Richard van der Hoff fc2f29c1d0 Fix bugs in the /keys/changes api
* `get_forward_extremeties_for_room` takes a numeric `stream_ordering`. We were
  passing a `RoomStreamToken`, which meant that it returned the *current*
  extremities, rather than those corresponding to the `from_token`. However:
* `get_state_ids_for_events` required a second ('types') parameter; this meant
  that a `TypeError` was thrown and we ended up acting as though there was *no*
  prev state.
* `get_state_ids_for_events` actually returns a map from event_id to state
  dictionary - just looking up the state keys in it again meant that we acted
  as though there was no prev state. We now check if each member's state has
  changed since *any* of the extremities.

Also add/fix some comments.
2017-02-14 13:59:50 +00:00
..
__init__.py Shuffle receipt handler around so that worker apps don't need to load it 2016-11-23 15:14:24 +00:00
_base.py Insert delta of current_state_events to be more efficient 2017-01-20 17:10:18 +00:00
account_data.py copyrights 2016-01-07 04:26:29 +00:00
admin.py admin,storage: added more administrator functionalities 2017-02-02 14:02:26 +01:00
appservice.py storage/appservice: make appservice methods only relying on the cache synchronous 2016-10-06 15:24:59 +02:00
auth.py Fix email push in pusher worker 2017-02-02 10:53:36 +00:00
device.py Fix bugs in the /keys/changes api 2017-02-14 13:59:50 +00:00
devicemessage.py Use new federation_sender DI 2016-11-16 14:47:52 +00:00
directory.py Comments 2016-12-07 09:58:33 +00:00
e2e_keys.py Fix unit tests 2017-01-30 17:11:24 +00: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 Derive current_state_events from state groups 2017-01-20 11:52:51 +00:00
identity.py requestToken update 2016-06-30 17:51:28 +01:00
initial_sync.py Shuffle receipt handler around so that worker apps don't need to load it 2016-11-23 15:14:24 +00:00
message.py Don't clobber a displayname or avatar_url if provided by an m.room.member event 2017-01-24 18:06:07 +00:00
presence.py Cache get_presence storage 2017-02-13 13:50:03 +00:00
profile.py handlers/profile: added admin override for set_displayname and set_avatar_url 2016-10-06 15:24:59 +02:00
receipts.py Fix ignored read-receipts 2016-12-08 12:13:01 +00:00
register.py Fix email push in pusher worker 2017-02-02 10:53:36 +00:00
room.py Make presence.get_new_events a bit faster 2017-02-02 13:07:18 +00:00
room_list.py Cache network room list queries. 2016-12-16 16:11:43 +00:00
room_member.py Add missing None check 2017-01-11 10:57:03 +00:00
search.py move filter_events_for_client out of base handler 2016-05-11 13:42:37 +01:00
sync.py Measure new device list stuff 2017-02-02 18:36:17 +00:00
typing.py Use new federation_sender DI 2016-11-16 14:47:52 +00:00