diff options
author | Mark Haines <mark.haines@matrix.org> | 2015-09-09 16:05:09 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2015-09-09 16:05:09 +0100 |
commit | 3c166a24c591afdc851de3c6c754c90471b1b0a9 (patch) | |
tree | 7e0ff60d195abce42a7cddb542a4b343b9c51451 /synapse/storage/stream.py | |
parent | Allow users that have left the room to view the member list from the point th... (diff) | |
download | synapse-3c166a24c591afdc851de3c6c754c90471b1b0a9.tar.xz |
Remove undocumented and unimplemented 'feedback' parameter from the Client-Server API
Diffstat (limited to '')
-rw-r--r-- | synapse/storage/stream.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/synapse/storage/stream.py b/synapse/storage/stream.py index 0abfa86cd2..5763c462af 100644 --- a/synapse/storage/stream.py +++ b/synapse/storage/stream.py @@ -159,9 +159,7 @@ class StreamStore(SQLBaseStore): @log_function def get_room_events_stream(self, user_id, from_key, to_key, room_id, - limit=0, with_feedback=False): - # TODO (erikj): Handle compressed feedback - + limit=0): current_room_membership_sql = ( "SELECT m.room_id FROM room_memberships as m " " INNER JOIN current_state_events as c" @@ -227,10 +225,7 @@ class StreamStore(SQLBaseStore): @defer.inlineCallbacks def paginate_room_events(self, room_id, from_key, to_key=None, - direction='b', limit=-1, - with_feedback=False): - # TODO (erikj): Handle compressed feedback - + direction='b', limit=-1): # Tokens really represent positions between elements, but we use # the convention of pointing to the event before the gap. Hence # we have a bit of asymmetry when it comes to equalities. @@ -302,7 +297,6 @@ class StreamStore(SQLBaseStore): @cachedInlineCallbacks(num_args=4) def get_recent_events_for_room(self, room_id, limit, end_token, from_token=None): - # TODO (erikj): Handle compressed feedback end_token = RoomStreamToken.parse_stream_token(end_token) |