Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MM-134] Fix issue: Emoji not working in meeting title #335

Merged
merged 1 commit into from
Jan 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading