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