diff --git a/src/Presence.js b/src/Presence.js index ce1d5d10..558c7e99 100644 --- a/src/Presence.js +++ b/src/Presence.js @@ -76,7 +76,9 @@ module.exports = { return; } state = newState; - MatrixClientPeg.get().setPresence(state).catch(function(err) { + MatrixClientPeg.get().setPresence(state).done(function() { + console.log("Presence: %s", newState); + }, function(err) { console.error("Failed to set presence: %s", err); }); },