Skip to content

Commit

Permalink
fix(qq): revert "feat(qq): reset passive state"
Browse files Browse the repository at this point in the history
This reverts commit e5777cc.

如果拆分消息,那么每条消息都应该附带 passive。不应该去掉。
  • Loading branch information
ilharp committed Dec 21, 2023
1 parent e5777cc commit bb0f8bd
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions adapters/qq/src/message.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ 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 @@ -265,8 +264,6 @@ 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 bb0f8bd

Please sign in to comment.