diff --git a/lib/internal/contactable.ts b/lib/internal/contactable.ts index cc7e7297..4f106b27 100644 --- a/lib/internal/contactable.ts +++ b/lib/internal/contactable.ts @@ -429,6 +429,7 @@ export abstract class Contactable { let cnt = 0 for (const fake of msglist) { const maker = new Converter(fake.message, { dm: this.dm, cachedir: this.c.config.data_dir }) + if (fake.source) maker.quote(fake.source) makers.push(maker) const seq = randomBytes(2).readInt16BE() const rand = randomBytes(4).readInt32BE() diff --git a/lib/message/elements.ts b/lib/message/elements.ts index b34769b3..04d70e2d 100644 --- a/lib/message/elements.ts +++ b/lib/message/elements.ts @@ -174,6 +174,7 @@ export interface Forwardable { message: Sendable, nickname?: string, time?: number, + source?: Quotable } /** 可组合发送的元素 */