remove logging
This commit is contained in:
parent
408eba7915
commit
8045009d81
2 changed files with 0 additions and 2 deletions
|
@ -82,7 +82,6 @@ class Presence {
|
||||||
* @param {string} newState the new presence state (see PRESENCE enum)
|
* @param {string} newState the new presence state (see PRESENCE enum)
|
||||||
*/
|
*/
|
||||||
async setState(newState) {
|
async setState(newState) {
|
||||||
console.log("setting Presence state!!", newState);
|
|
||||||
if (newState === this.state) {
|
if (newState === this.state) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -60,7 +60,6 @@ export default class Timer {
|
||||||
if (timeout === this._timeout) {
|
if (timeout === this._timeout) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
console.log(`changing timer timeout from ${this._timeout} to ${timeout}`);
|
|
||||||
const isSmallerTimeout = timeout < this._timeout;
|
const isSmallerTimeout = timeout < this._timeout;
|
||||||
this._timeout = timeout;
|
this._timeout = timeout;
|
||||||
if (this.isRunning() && isSmallerTimeout) {
|
if (this.isRunning() && isSmallerTimeout) {
|
||||||
|
|
Loading…
Reference in a new issue