diff --git a/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/messages.component.ts b/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/messages.component.ts index 7170d259..6603e9c3 100644 --- a/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/messages.component.ts +++ b/projects/ucap-webmessenger-app/src/app/layouts/messenger/components/messages.component.ts @@ -1146,7 +1146,7 @@ export class MessagesComponent implements OnInit, OnDestroy, AfterViewInit { if (!!mediaFiles) { const fakeMedia = await this.commonApiService.checkInvalidMediaMimeForFileTalk( - fileUploadItems.map(fui => fui.file) + mediaFiles ); if (!fakeMedia.accept) { if (!!this.fileUploadQueue) {