From 55170ae7029aee021f3f0578fa86d2c6e9fcb0a1 Mon Sep 17 00:00:00 2001 From: richard-loafle <44828666+richard-loafle@users.noreply.github.com> Date: Fri, 14 Feb 2020 16:05:27 +0900 Subject: [PATCH] bug fixed --- .../src/app/layouts/messenger/components/messages.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {