Commit 568c879
fix(core-typings): add content field to MessageAttachmentDefault
Pin attachments include encrypted content from e2e messages.
Without this field, additionalProperties: false rejects the attachment.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 8637608 commit 568c879
2 files changed
Lines changed: 5 additions & 2 deletions
File tree
- apps/meteor/app/message-pin/server
- packages/core-typings/src/IMessage/MessageAttachment
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
38 | 41 | | |
0 commit comments