Skip to content

Commit

Permalink
fix(qq): fix "copy typo" in adaptSession function (#323)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaopeng12138 authored Oct 25, 2024
1 parent 0cd7d8e commit 07dca13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adapters/qq/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ export async function adaptSession<C extends Context = Context>(bot: QQBot<C>, i
session.timestamp = input.d.timestamp
session.userId = input.d.openid
} else if (input.t === 'FRIEND_DEL') {
session.type = 'friend-added'
session.type = 'friend-deleted'
session.timestamp = input.d.timestamp
session.userId = input.d.openid
} else if (input.t === 'GROUP_ADD_ROBOT') {
Expand Down

0 comments on commit 07dca13

Please sign in to comment.