This commit is contained in:
Peter Maquiran
2022-01-29 19:21:46 +01:00
parent bf0dbf8baf
commit ed77e1aea7
14 changed files with 402 additions and 19 deletions
+14 -1
View File
@@ -204,7 +204,7 @@ export class WsChatService {
});
}
hidingRoom(roomId){
hidingRoom(roomId) {
const requestId = uuidv4()
@@ -350,6 +350,19 @@ export class WsChatService {
}})
}
getUserStatus(funx:Function){
this.ws.registerCallback({
type:'Onmessage',
funx:(message)=>{
if(message.msg == 'changed' && message.collection == "stream-notify-logged") {
funx(message)
}
}
})
}
loadHistory(roomId, limit: number = 50) {
const requestId = uuidv4()