1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-29 16:43:09 +03:00
This commit is contained in:
David Baker
2017-04-06 16:58:13 +01:00
parent 0594a8d03a
commit 18806e5524
2 changed files with 2 additions and 1 deletions

View File

@@ -9,6 +9,7 @@ const MatrixEvent = sdk.MatrixEvent;
* Return a promise that is resolved when the client next emits a
* SYNCING event.
* @param {Object} client The client
* @return {Promise} Resolves once the client has emitted a SYNCING event
*/
module.exports.syncPromise = function(client) {
const def = q.defer();

View File

@@ -227,7 +227,7 @@ LocalIndexedDBStoreBackend.prototype = {
* Users with the same 'userId' will be replaced.
* Prfesence events should be the event in its raw form (not the Event
* object)
* @param {Object[]} users An array of users
* @param {Object[]} tuples An array of [userid, event] tuples
* @return {Promise} Resolves if the users were persisted.
*/
_persistUserPresenceEvents: function(tuples) {