Debug room was not changed so we could send messages from last room
This commit is contained in:
parent
471225f7fa
commit
febf812963
1 changed files with 2 additions and 0 deletions
|
|
@ -36,6 +36,7 @@ export class PrivateComponent implements OnInit {
|
||||||
}
|
}
|
||||||
|
|
||||||
changeListPrivate(): void{
|
changeListPrivate(): void{
|
||||||
|
this.roomSelected = '';
|
||||||
this.privateRoomActivate = true;
|
this.privateRoomActivate = true;
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
document.getElementById('userList').innerHTML = '';
|
document.getElementById('userList').innerHTML = '';
|
||||||
|
|
@ -57,6 +58,7 @@ export class PrivateComponent implements OnInit {
|
||||||
}
|
}
|
||||||
|
|
||||||
changeListGeneral(): void{
|
changeListGeneral(): void{
|
||||||
|
this.roomSelected = 'general';
|
||||||
this.privateRoomActivate = false;
|
this.privateRoomActivate = false;
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
document.getElementById('userList').innerHTML = '<div class="user-card"><p class="username">General</p></div>';
|
document.getElementById('userList').innerHTML = '<div class="user-card"><p class="username">General</p></div>';
|
||||||
|
|
|
||||||
Reference in a new issue