You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-28 05:03:59 +03:00
lint and thinkos
This commit is contained in:
@@ -729,7 +729,7 @@ MatrixClient.prototype.deleteRoomTag = function(roomId, tagName, callback) {
|
||||
* @return {module:client.Promise} Resolves: TODO
|
||||
* @return {module:http-api.MatrixError} Rejects: with an error response.
|
||||
*/
|
||||
MatrixClient.prototype.setAccountData = function(event, eventType, content) {
|
||||
MatrixClient.prototype.setAccountData = function(eventType, content, callback) {
|
||||
var path = utils.encodeUri("/user/$userId/account_data/$type", {
|
||||
$userId: this.credentials.userId,
|
||||
$type: event.getType(),
|
||||
@@ -747,7 +747,8 @@ MatrixClient.prototype.setAccountData = function(event, eventType, content) {
|
||||
* @return {module:client.Promise} Resolves: TODO
|
||||
* @return {module:http-api.MatrixError} Rejects: with an error response.
|
||||
*/
|
||||
MatrixClient.prototype.setRoomAccountData = function(roomId, eventType, content, callback) {
|
||||
MatrixClient.prototype.setRoomAccountData = function(roomId, eventType,
|
||||
content, callback) {
|
||||
var path = utils.encodeUri("/user/$userId/rooms/$roomId/account_data/$type", {
|
||||
$userId: this.credentials.userId,
|
||||
$roomId: roomId,
|
||||
|
||||
Reference in New Issue
Block a user