Files
doneit-web/src/app/shared/popover/chat-message-debugging/chat-message-debugging.page.ts
T
Peter Maquiran 12cf5831a8 rename files
2022-09-30 15:13:36 +01:00

30 lines
687 B
TypeScript

import { Component, OnInit } from '@angular/core';
import { NavParams } from '@ionic/angular';
import { ChatSystemService } from 'src/app/services/chat/chat-system.service';
@Component({
selector: 'app-chat-message-debugging',
templateUrl: './chat-message-debugging.page.html',
styleUrls: ['./chat-message-debugging.page.scss'],
})
export class ChatMessageDebuggingPage implements OnInit {
roomId: string
constructor(
public ChatSystemService: ChatSystemService,
private navParams: NavParams
) { }
ngOnInit() {
this.roomId = this.navParams.get('roomId')
}
loadHistory() {
this.ChatSystemService.getDmRoom(this.roomId).loadHistory({});
}
}