Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
pull/21833/head
Šimon Brandner 2021-07-13 09:30:52 +02:00
parent b1fb089816
commit c44de3bea8
No known key found for this signature in database
GPG Key ID: 9760693FDD98A790
1 changed files with 5 additions and 5 deletions

View File

@ -128,15 +128,15 @@ export default class ReplyTile extends React.PureComponent<IProps> {
}
const msgtypeOverrides = {
"m.image": MImageReplyBody,
[MsgType.Image]: MImageReplyBody,
// We don't want a download link for files, just the file name is enough.
"m.file": TextualBody,
[MsgType.File]: TextualBody,
"m.sticker": TextualBody,
"m.audio": TextualBody,
"m.video": TextualBody,
[MsgType.Audio]: TextualBody,
[MsgType.Video]: TextualBody,
};
const evOverrides = {
"m.sticker": TextualBody,
[EventType.Sticker]: TextualBody,
};
return (