Don't set avatar and display name if they haven't changed.

Related to issue #40.
This commit is contained in:
N-Pex 2021-01-29 21:41:43 +01:00
parent 8555436bc7
commit bdd6977728
7 changed files with 94 additions and 33 deletions

View file

@ -383,7 +383,7 @@ export default {
if (value && value == oldValue) {
return; // No change.
}
console.log("Chat: Current room changed");
console.log("Chat: Current room changed to " + (value ? value : "null"));
// Clear old events
this.events = [];