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

Add storeEvents impl.

This commit is contained in:
Kegan Dougal
2015-07-02 11:03:50 +01:00
parent 023a3cf2bd
commit ea738e31ba
4 changed files with 99 additions and 11 deletions

View File

@@ -86,6 +86,16 @@ StubStore.prototype = {
*/
scrollback: function(room, limit) {
return [];
},
/**
* Store events for a room.
* @param {Room} room The room to store events for.
* @param {Array<MatrixEvent>} events The events to store.
* @param {string} token The token associated with these events.
* @param {boolean} toStart True if these are paginated results.
*/
storeEvents: function(room, events, token, toStart) {
}
// TODO