You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
remove logging
This commit is contained in:
@@ -82,7 +82,6 @@ class Presence {
|
||||
* @param {string} newState the new presence state (see PRESENCE enum)
|
||||
*/
|
||||
async setState(newState) {
|
||||
console.log("setting Presence state!!", newState);
|
||||
if (newState === this.state) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -60,7 +60,6 @@ export default class Timer {
|
||||
if (timeout === this._timeout) {
|
||||
return;
|
||||
}
|
||||
console.log(`changing timer timeout from ${this._timeout} to ${timeout}`);
|
||||
const isSmallerTimeout = timeout < this._timeout;
|
||||
this._timeout = timeout;
|
||||
if (this.isRunning() && isSmallerTimeout) {
|
||||
|
||||
Reference in New Issue
Block a user