Remove undocumented and unimplemented 'feedback' parameter from the Client-Server API

This commit is contained in:
Mark Haines 2015-09-09 16:05:09 +01:00
parent bc8b25eb56
commit 3c166a24c5
6 changed files with 5 additions and 42 deletions

View file

@ -26,14 +26,12 @@ class InitialSyncRestServlet(ClientV1RestServlet):
@defer.inlineCallbacks
def on_GET(self, request):
user, _ = yield self.auth.get_user_by_req(request)
with_feedback = "feedback" in request.args
as_client_event = "raw" not in request.args
pagination_config = PaginationConfig.from_request(request)
handler = self.handlers.message_handler
content = yield handler.snapshot_all_rooms(
user_id=user.to_string(),
pagin_config=pagination_config,
feedback=with_feedback,
as_client_event=as_client_event
)