Skip to content

Commit

Permalink
Merge branch 'main' into feat/card
Browse files Browse the repository at this point in the history
  • Loading branch information
juliajforesti authored Nov 9, 2023
2 parents 4f933ff + 684b73c commit 77c2cde
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 77c2cde

Please sign in to comment.