change method to streamRoomMessages

This commit is contained in:
Peter Maquiran
2022-01-14 10:53:05 +01:00
parent 04bc2f8a1a
commit c4b6abe094
2 changed files with 3 additions and 2 deletions
@@ -76,13 +76,13 @@ export class WsChatMethodsService {
subscribeToRoom() { subscribeToRoom() {
for (const id in this.dm) { for (const id in this.dm) {
this.WsChatService.subscribeNotifyRoom(id).then((subscription)=>{ this.WsChatService.streamRoomMessages(id).then((subscription)=>{
// console.log('subscription', subscription) // console.log('subscription', subscription)
}) })
} }
for (const id in this.group) { for (const id in this.group) {
this.WsChatService.subscribeNotifyRoom(id).then((subscription)=>{ this.WsChatService.streamRoomMessages(id).then((subscription)=>{
// console.log('subscription', subscription) // console.log('subscription', subscription)
}) })
} }
+1
View File
@@ -236,6 +236,7 @@ export class WsChatService {
} }
/** /**
* @param roomId * @param roomId
* @param key * @param key