This commit is contained in:
Peter Maquiran
2022-02-10 18:07:06 +01:00
parent 382ee2fd1b
commit 08da9419bb
12 changed files with 66 additions and 34 deletions
@@ -249,7 +249,8 @@ export class MessagesPage implements OnInit, OnChanges, AfterViewInit, OnDestroy
this.wsChatMethodsService.getDmRoom(this.roomId).send({})
}
deleteMessage(msgId: string, room:any) {
deleteMessage(msgId: string) {
const room = this.wsChatMethodsService.getDmRoom(this.roomId)
this.alertService.confirmDeleteMessage(msgId, room);
}