diff --git a/src/app/molecules/message/Message.jsx b/src/app/molecules/message/Message.jsx index 12b8c8d..2edf3ae 100644 --- a/src/app/molecules/message/Message.jsx +++ b/src/app/molecules/message/Message.jsx @@ -106,10 +106,17 @@ MessageReply.propTypes = { content: PropTypes.string.isRequired, }; -function MessageContent({ content, isMarkdown, isEdited }) { +function MessageContent({ + senderName, + content, + isMarkdown, + isEdited, + msgType, +}) { return (
` so that markdown emotes stay on one line.
+ p:first-of-type {
+ display: inline;
+ }
+ }
+}
diff --git a/src/app/organisms/room/RoomViewContent.jsx b/src/app/organisms/room/RoomViewContent.jsx
index 60bbca3..d69a90e 100644
--- a/src/app/organisms/room/RoomViewContent.jsx
+++ b/src/app/organisms/room/RoomViewContent.jsx
@@ -282,6 +282,7 @@ function RoomViewContent({
let content = mEvent.getContent().body;
if (typeof content === 'undefined') return null;
+ const msgType = mEvent.getContent()?.msgtype;
let reply = null;
let reactions = null;
let isMarkdown = mEvent.getContent().format === 'org.matrix.custom.html';
@@ -379,8 +380,10 @@ function RoomViewContent({
);
const userContent = (