This commit is contained in:
Peter Maquiran
2022-02-24 14:17:16 +01:00
parent 35f0c09071
commit 945dd72142
2 changed files with 3 additions and 2 deletions
@@ -300,6 +300,7 @@ export class WsChatMethodsService {
}
} else {
console.log('have!!!')
// in this case room is already present, therefor it will only be necessary,
// to redefine
@@ -313,7 +314,7 @@ export class WsChatMethodsService {
}
roomExist(roomId) {
return this.dm[roomId] && this.group[roomId]
return this.dm[roomId]?.id || this.group[roomId]?.id
}
getReceptorName(roomData) {