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
Fix lint
This commit is contained in:
@@ -1427,7 +1427,7 @@ MatrixClient.prototype.setPresence = function(opts, callback) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
if (typeof opts === "string") {
|
if (typeof opts === "string") {
|
||||||
opts = { presence: opts }
|
opts = { presence: opts };
|
||||||
}
|
}
|
||||||
|
|
||||||
var validStates = ["offline", "online", "unavailable"];
|
var validStates = ["offline", "online", "unavailable"];
|
||||||
|
|||||||
Reference in New Issue
Block a user