mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 12:37:53 +00:00
30 lines
687 B
TypeScript
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({});
|
|
}
|
|
|
|
}
|