Skip to content

Commit

Permalink
fix(message-parser): Added ChannelMention in the markup (#1215)
Browse files Browse the repository at this point in the history
Signed-off-by: brf153 <[email protected]>
Co-authored-by: Guilherme Gazzo <[email protected]>
Co-authored-by: Gabriel Casals <[email protected]>
  • Loading branch information
3 people authored Nov 8, 2023
1 parent 68674c5 commit 684b73c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/cyan-pots-care.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/message-parser": patch
---

Added ChannelMention in the markup inside message-parser
2 changes: 1 addition & 1 deletion packages/message-parser/src/definitions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export type Quote = {
value: Paragraph[];
};

export type Markup = Italic | Strike | Bold | Plain;
export type Markup = Italic | Strike | Bold | Plain | ChannelMention;
export type MarkupExcluding<T extends Markup> = Exclude<Markup, T>;

export type Bold = {
Expand Down

0 comments on commit 684b73c

Please sign in to comment.