Merge branch 'feature/websocket' of https://bitbucket.org/equilibriumito/gabinete-digital into feature/websocket

This commit is contained in:
tiago.kayaya
2022-01-12 11:57:19 +01:00
12 changed files with 51 additions and 49 deletions
+6
View File
@@ -99,6 +99,12 @@ export class HomePage implements OnInit {
//this.RocketChatClientService.send('fsMwcNdufWvdnChj7ya9nF9cX2HizxxWAM', 'Mensagem enviada programaticamente.'+ new Date().toISOString())
}
this.RocketChatClientService.registerCallback({type:'Onmessage',requestId:'asdfasdfasdf',funx:(message)=>{
// console.log('message', message)
}})
// this.RocketChatClientService.send()
/* this.webNotificationPopupService.askNotificationPermission() */