It's not an override

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-07-14 10:23:24 +02:00
parent f26c75bdcc
commit ae4d8c291d
No known key found for this signature in database
GPG key ID: 9760693FDD98A790

View file

@ -27,7 +27,6 @@ import * as sdk from '../../../index';
import { EventType, MsgType } from 'matrix-js-sdk/src/@types/event';
import { replaceableComponent } from '../../../utils/replaceableComponent';
import { getEventDisplayInfo } from '../../../utils/EventUtils';
import MFileBody from "../messages/MFileBody";
interface IProps {
mxEvent: MatrixEvent;
@ -117,7 +116,6 @@ export default class ReplyTile extends React.PureComponent<IProps> {
const msgtypeOverrides = {
[MsgType.Image]: MImageReplyBody,
// We don't want a download link for files, just the file name is enough.
[MsgType.File]: MFileBody,
[MsgType.Audio]: TextualBody,
[MsgType.Video]: TextualBody,
};