You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-26 17:03:12 +03:00
Document the order of the room timeline because I can never remember which way round it is.
This commit is contained in:
@@ -59,7 +59,7 @@ function synthesizeReceipt(userId, event, receiptType) {
|
||||
* @prop {string} roomId The ID of this room.
|
||||
* @prop {string} name The human-readable display name for this room.
|
||||
* @prop {Array<MatrixEvent>} timeline The ordered list of message events for
|
||||
* this room.
|
||||
* this room, with the oldest event at index 0.
|
||||
* @prop {object} tags Dict of room tags; the keys are the tag name and the values
|
||||
* are any metadata associated with the tag - e.g. { "fav" : { order: 1 } }
|
||||
* @prop {RoomState} oldState The state of the room at the time of the oldest
|
||||
|
||||
Reference in New Issue
Block a user