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
2016-08-18 23:58:06 +01:00
parent a25315a994
commit e0bd05a8c4

View File

@@ -1427,7 +1427,7 @@ MatrixClient.prototype.setPresence = function(opts, callback) {
});
if (typeof opts === "string") {
opts = { presence: opts }
opts = { presence: opts };
}
var validStates = ["offline", "online", "unavailable"];