mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
change method to streamRoomMessages
This commit is contained in:
@@ -76,13 +76,13 @@ export class WsChatMethodsService {
|
||||
|
||||
subscribeToRoom() {
|
||||
for (const id in this.dm) {
|
||||
this.WsChatService.subscribeNotifyRoom(id).then((subscription)=>{
|
||||
this.WsChatService.streamRoomMessages(id).then((subscription)=>{
|
||||
// console.log('subscription', subscription)
|
||||
})
|
||||
}
|
||||
|
||||
for (const id in this.group) {
|
||||
this.WsChatService.subscribeNotifyRoom(id).then((subscription)=>{
|
||||
this.WsChatService.streamRoomMessages(id).then((subscription)=>{
|
||||
// console.log('subscription', subscription)
|
||||
})
|
||||
}
|
||||
|
||||
@@ -236,6 +236,7 @@ export class WsChatService {
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param roomId
|
||||
* @param key
|
||||
|
||||
Reference in New Issue
Block a user