Skip to content

Commit

Permalink
feat(qq): reset passive state
Browse files Browse the repository at this point in the history
  • Loading branch information
ilharp authored Dec 21, 2023
1 parent d335c7d commit e5777cc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions adapters/qq/src/message.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ export class QQGuildMessageEncoder<C extends Context = Context> extends MessageE
this.file = null
this.filename = null
this.fileUrl = null
this.passiveId = null
this.resource = null
this.retry = false
}
Expand Down Expand Up @@ -264,6 +265,8 @@ export class QQMessageEncoder<C extends Context = Context> extends MessageEncode
// this.results.push(session.event.message)
// session.app.emit(session, 'send', session)
this.content = ''
this.passiveId = null
this.passiveSeq = null
this.attachedFile = null
this.rows = []
}
Expand Down

0 comments on commit e5777cc

Please sign in to comment.