From d9e94737f2f544d4039d8f08d36f3b6544259d01 Mon Sep 17 00:00:00 2001 From: Aaron Raimist Date: Thu, 28 Oct 2021 19:49:38 -0500 Subject: [PATCH] Fix merge conflict Signed-off-by: Aaron Raimist --- src/ContentMessages.tsx | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/ContentMessages.tsx b/src/ContentMessages.tsx index b85c0462b5..ac1d8dee18 100644 --- a/src/ContentMessages.tsx +++ b/src/ContentMessages.tsx @@ -18,17 +18,19 @@ limitations under the License. import React from "react"; import { MatrixClient } from "matrix-js-sdk/src/client"; -import { IEncryptedFile, IMediaEventInfo } from "./customisations/models/IMediaEventContent"; import { IUploadOpts } from "matrix-js-sdk/src/@types/requests"; import { MsgType } from "matrix-js-sdk/src/@types/event"; +import { IAbortablePromise, IImageInfo } from "matrix-js-sdk/src/@types/partials"; +import { logger } from "matrix-js-sdk/src/logger"; +import encrypt from "browser-encrypt-attachment"; +import extractPngChunks from "png-chunks-extract"; +import { IEncryptedFile, IMediaEventInfo } from "./customisations/models/IMediaEventContent"; import dis from './dispatcher/dispatcher'; import * as sdk from './index'; import { _t } from './languageHandler'; import Modal from './Modal'; import RoomViewStore from './stores/RoomViewStore'; -import encrypt from "browser-encrypt-attachment"; -import extractPngChunks from "png-chunks-extract"; import Spinner from "./components/views/elements/Spinner"; import { Action } from "./dispatcher/actions"; import CountlyAnalytics from "./CountlyAnalytics"; @@ -40,13 +42,10 @@ import { UploadStartedPayload, } from "./dispatcher/payloads/UploadPayload"; import { IUpload } from "./models/IUpload"; -import { IAbortablePromise, IImageInfo } from "matrix-js-sdk/src/@types/partials"; import { BlurhashEncoder } from "./BlurhashEncoder"; import SettingsStore from "./settings/SettingsStore"; import { decorateStartSendingTime, sendRoundTripMetric } from "./sendTimePerformanceMetrics"; -import { logger } from "matrix-js-sdk/src/logger"; - const MAX_WIDTH = 800; const MAX_HEIGHT = 600;