Skip to content

Commit

Permalink
fix: node嵌套
Browse files Browse the repository at this point in the history
  • Loading branch information
lc-cn committed Jun 24, 2024
1 parent d5c5308 commit ea815f2
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/adapters/icqq/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -297,11 +297,9 @@ export default class IcqqAdapter extends Adapter<"icqq", Sendable> {
if (type === "node")
return {
type,
data: {
user_id: data.user_id,
nickname: data.nickname,
message: this.fromSegment(onebot, version, data.message),
},
user_id: data.user_id,
nickname: data.nickname,
message: this.fromSegment(onebot, version, data.message),
};
return { type, ...data };
});
Expand Down

0 comments on commit ea815f2

Please sign in to comment.