1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-28 05:03:59 +03:00

Appease the linter

This commit is contained in:
Travis Ralston
2018-10-25 14:36:14 -06:00
parent 2cccb8b450
commit 568ff5a3f5
2 changed files with 2 additions and 4 deletions

View File

@@ -968,7 +968,8 @@ MatrixClient.prototype.joinRoom = function(roomIdOrAlias, opts, callback) {
}
const path = utils.encodeUri("/join/$roomid", { $roomid: roomIdOrAlias});
return self._http.authedRequest(undefined, "POST", path, queryString, data, reqOpts);
return self._http.authedRequest(
undefined, "POST", path, queryString, data, reqOpts);
}).then(function(res) {
const roomId = res.room_id;
const syncApi = new SyncApi(self, self._clientOpts);