This commit is contained in:
Peter Maquiran
2022-01-10 13:31:15 +01:00
parent d4470e0b80
commit b82239741b
6 changed files with 57 additions and 4 deletions
+2 -2
View File
@@ -108,10 +108,10 @@ export class HomePage implements OnInit {
// alert('login')
console.log('rocket chat login successfully', message)
this.RocketChatClientService.getRooms().then((rooms: any)=>{
console.log('rooms', rooms)
// console.log('rooms', rooms)
rooms.result.update.forEach((room:any) => {
console.log('room', room)
// console.log('room', room)
this.RocketChatClientService.subscribe(room.lastMessage.rid).then((subscription)=>{
console.log('subscription', subscription)
})