mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 10:15:43 +03:00
Enums
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
b1fb089816
commit
c44de3bea8
1 changed files with 5 additions and 5 deletions
|
@ -128,15 +128,15 @@ export default class ReplyTile extends React.PureComponent<IProps> {
|
||||||
}
|
}
|
||||||
|
|
||||||
const msgtypeOverrides = {
|
const msgtypeOverrides = {
|
||||||
"m.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.
|
||||||
"m.file": TextualBody,
|
[MsgType.File]: TextualBody,
|
||||||
"m.sticker": TextualBody,
|
"m.sticker": TextualBody,
|
||||||
"m.audio": TextualBody,
|
[MsgType.Audio]: TextualBody,
|
||||||
"m.video": TextualBody,
|
[MsgType.Video]: TextualBody,
|
||||||
};
|
};
|
||||||
const evOverrides = {
|
const evOverrides = {
|
||||||
"m.sticker": TextualBody,
|
[EventType.Sticker]: TextualBody,
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Reference in a new issue