From 378c7fd6cb4a942f0adda4ed37ac501c8975235c Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Tue, 23 Jun 2015 12:15:41 +0100 Subject: [PATCH] Update docs --- CHANGELOG.md | 8 ++++---- lib/client.js | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9751e25bf..7643723d7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,13 +30,13 @@ New methods: New features: * Local echo. When you send an event using the SDK it will immediately be - added to `Room.timeline` with the `event.status` of `EventStatus.SENDING`. When - the event is finally sent, this status will be removed. + added to `Room.timeline` with the `event.status` of `EventStatus.SENDING`. + When the event is finally sent, this status will be removed. * Not sent status. When an event fails to send using the SDK, it will have the `event.status` of `EventStatus.NOT_SENT`. * Retries. If events fail to send, they will be automatically retried. - * Queueing. Messages sent in quick succession will be queued to preserve the order - in which they were submitted. + * Queueing. Messages sent in quick succession will be queued to preserve the + order in which they were submitted. * Room state is automatcally synchronised when joining a room (including if another device joins a room). * Scrollback. You can request earlier events in a room using diff --git a/lib/client.js b/lib/client.js index 3af7e8a72..819280c44 100644 --- a/lib/client.js +++ b/lib/client.js @@ -794,7 +794,7 @@ MatrixClient.prototype.roomState = function(roomId, callback) { * Retrieve older messages from the given room and put them in the timeline. * @param {Room} room The room to get older messages in. * @param {Number} limit Optional. The maximum number of previous events to pull - * in. + * in. Default: 30. * @param {module:client.callback} callback Optional. * @return {module:client.Promise} Resolves: Room. * @return {module:http-api.MatrixError} Rejects: with an error response.