improve message

This commit is contained in:
Peter Maquiran
2022-01-11 19:49:43 +01:00
parent 5ffcadbd40
commit e79501e83c
3 changed files with 5 additions and 8 deletions
-5
View File
@@ -94,11 +94,6 @@ export class HomePage implements OnInit {
private sqliteservice: SqliteService,
private RouteService: RouteService,
private RocketChatClientService: RocketChatClientService) {
this.RocketChatClientService.loadHistory('fsMwcNdufWvdnChj7ya9nF9cX2HizxxWAM', 10).then((message)=>{
console.log('loadHistory', message)
})
window['jj'] = ()=>{
//send message // roomId // Message
this.RocketChatClientService.send('fsMwcNdufWvdnChj7ya9nF9cX2HizxxWAM', 'Mensagem enviada programaticamente.'+ new Date().toISOString())