mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 18:25:49 +03:00
It's not an override
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
f26c75bdcc
commit
ae4d8c291d
1 changed files with 0 additions and 2 deletions
|
@ -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,
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue