mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-21 13:55:51 +00:00
change method to streamRoomMessages
This commit is contained in:
@@ -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)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -236,6 +236,7 @@ export class WsChatService {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param roomId
|
* @param roomId
|
||||||
* @param key
|
* @param key
|
||||||
|
|||||||
Reference in New Issue
Block a user