change value on sahre chat message page from msg.url to msg.file.url

This commit is contained in:
Eudes Inácio
2022-01-27 16:42:27 +01:00
parent 35b6e490af
commit 9c4ebaaa69
@@ -74,7 +74,7 @@
<div *ngIf="msg.attachments" class="message-attachments">
<div *ngFor="let file of msg.attachments">
<div *ngIf="msg.file.type == 'application/img'" (click)="downloadFileMsg(msg)" dfsdvsvs>
<img src={{msg.image_url}} alt="image">
<img src={{msg.file.image_url}} alt="image">
</div>
<div *ngIf="msg.file.type != 'application/img'">
<div class="file">