1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-08-18 05:42:00 +03:00

Update docs

This commit is contained in:
Kegan Dougal
2015-06-23 12:15:41 +01:00
parent 7534f59af2
commit 378c7fd6cb
2 changed files with 5 additions and 5 deletions

View File

@@ -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

View File

@@ -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.