Skip to content

Conversation

@knrt10
Copy link
Contributor

@knrt10 knrt10 commented May 26, 2019

Closes #14346

cc @tassoevan @ggazzo would you please review

@knrt10
Copy link
Contributor Author

knrt10 commented Jul 1, 2019

@tassoevan would you please review

@novacrazy
Copy link

Ended up having to merge this into my own fork manually. It does seem to fix the issue.

@tassoevan tassoevan requested review from ggazzo and tassoevan August 27, 2019 16:27
@tassoevan tassoevan added area: ui Touches the code on client side type: bug labels Aug 27, 2019
message.tokens.map((msg) => {
message.html = message.html.replace(msg.token, msg.text);
return message.html;
});
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Take a look at the renderMessageBody helper. It encapsulates the callback calling and the replacement of tokens.

@ggazzo ggazzo merged commit bb99939 into RocketChat:develop Oct 18, 2019
@rodrigok rodrigok changed the title [FIX] Link in Announcement popup [FIX] Channel Announcements not working Oct 24, 2019
@rodrigok rodrigok added this to the 2.1.2 milestone Oct 24, 2019
rodrigok pushed a commit that referenced this pull request Oct 24, 2019
@rodrigok rodrigok mentioned this pull request Oct 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: ui Touches the code on client side type: bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Link in Announcement popup broken

5 participants