mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-28 04:21:00 +00:00
Replace console.info with logger.info
Related https://github.com/vector-im/element-web/issues/18425
This commit is contained in:
committed by
Dariusz Niemczyk
parent
5290afcc4c
commit
2c66403b3c
+1
-1
@@ -101,7 +101,7 @@ class Presence {
|
||||
|
||||
try {
|
||||
await MatrixClientPeg.get().setPresence({ presence: this.state });
|
||||
console.info("Presence:", newState);
|
||||
logger.info("Presence:", newState);
|
||||
} catch (err) {
|
||||
logger.error("Failed to set presence:", err);
|
||||
this.state = oldState;
|
||||
|
||||
Reference in New Issue
Block a user