Skip to content

Commit

Permalink
[MM-134] Fix issue: Emoji not working in meeting title (#335)
Browse files Browse the repository at this point in the history
  • Loading branch information
raghavaggarwal2308 authored Jan 25, 2024
1 parent e22524d commit 4084345
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions webapp/src/components/post_type_zoom/post_type_zoom.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export default class PostTypeZoom extends React.PureComponent {
let content;
let subtitle;
if (props.meeting_status === 'STARTED') {
preText = this.renderPostWithMarkdown(post.message);
preText = post.message;
if (this.props.fromBot) {
preText = `${this.props.creatorName} has started a meeting`;
}
Expand Down Expand Up @@ -139,7 +139,7 @@ export default class PostTypeZoom extends React.PureComponent {
);
}
} else if (props.meeting_status === 'ENDED') {
preText = this.renderPostWithMarkdown(post.message);
preText = post.message;
if (this.props.fromBot) {
preText = `${this.props.creatorName} has ended the meeting`;
}
Expand Down Expand Up @@ -203,6 +203,9 @@ export default class PostTypeZoom extends React.PureComponent {
title = props.meeting_topic;
}

title = this.renderPostWithMarkdown(title);
preText = this.renderPostWithMarkdown(preText);

return (
<div className='attachment attachment--pretext'>
<div className='attachment__thumb-pretext'>
Expand Down

0 comments on commit 4084345

Please sign in to comment.