Commit 74eb925
fix(core-typings): make author_link optional in MessageQuoteAttachment and prevent null md
createQuoteAttachment was propagating null/undefined md from messages.
Now only spreads md when truthy. Also author_link was never set in
createQuoteAttachment so it must be optional in the type.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 8cf1d86 commit 74eb925
2 files changed
Lines changed: 2 additions & 2 deletions
File tree
- apps/meteor/lib
- packages/core-typings/src/IMessage/MessageAttachment
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
0 commit comments