fix: use newsletter-specific upload paths for channel media (#311)

fix: use newsletter-specific upload paths for channel media (#311)
This commit is contained in:
Renato Alcara
2026-03-20 12:02:36 -03:00
committed by GitHub
parent e6ea7e4563
commit c3a021fcde
5 changed files with 58 additions and 12 deletions
+1 -1
View File
@@ -1051,7 +1051,7 @@ export const makeMessagesSocket = (config: SocketConfig) => {
const bytes = encodeNewsletterMessage(patched as proto.IMessage)
binaryNodeContent.push({
tag: 'plaintext',
attrs: {},
attrs: mediaType ? { mediatype: mediaType } : {},
content: bytes
})
const stanza: BinaryNode = {