You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-29 16:43:09 +03:00
lint
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user