fix(api): enforce correct message type for replies in personal notes (#58)

This commit is contained in:
hampus-fluxer
2026-01-06 06:22:18 +01:00
committed by GitHub
parent 9dee7f1519
commit e6ef9150b9
2 changed files with 81 additions and 1 deletions

View File

@@ -907,7 +907,7 @@ export class MessageSendService {
messageId,
channelId,
user,
type: MessageTypes.DEFAULT,
type: this.getMessageTypeForRequest(data),
content: data.content,
flags: data.flags ? data.flags & SENDABLE_MESSAGE_FLAGS : 0,
embeds: data.embeds,