Skip to content

Commit

Permalink
fix: message_id comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
ltxhhz committed Jan 14, 2024
1 parent 67a17e0 commit f799b69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/service/V11/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export class V11 extends Service<"V11"> implements OneBot.Base {
return (
Object.keys(obj)
.find(str => {
return obj[str] === value;
return obj[str] == value;
})
?.replace(/%46/g, ".") || value + ""
);
Expand Down

0 comments on commit f799b69

Please sign in to comment.