Skip to content

Commit

Permalink
fix(mail): fix to address in flush, fix #206 (#229)
Browse files Browse the repository at this point in the history
  • Loading branch information
Anillc authored Jan 22, 2024
1 parent 4cef9e3 commit bfaff44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adapters/mail/src/message.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export class MailMessageEncoder<C extends Context = Context> extends MessageEnco
async flush() {
if (!this.buffer && this.attachments.length === 0) return
const messageId = await this.bot.internal.send({
to: this.session.channelId,
to: this.session.channelId.substring(8),
html: `<pre>${this.buffer}</pre>`,
attachments: this.attachments,
inReplyTo: this.reply,
Expand Down

0 comments on commit bfaff44

Please sign in to comment.