Skip to content

Commit

Permalink
fix: 条件错误
Browse files Browse the repository at this point in the history
  • Loading branch information
clansty committed Sep 2, 2024
1 parent 18ed877 commit f14ff12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/src/services/ForwardService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ export default class ForwardService {
}

let richHeaderUsed = false;
if (!((pair.flags | this.instance.flags) & flags.DISABLE_RICH_HEADER) || !env.WEB_ENDPOINT) {
if (((pair.flags | this.instance.flags) & flags.DISABLE_RICH_HEADER) || !env.WEB_ENDPOINT) {
messageHeaderWithLink = messageHeader;
}
// 发送消息
Expand Down

0 comments on commit f14ff12

Please sign in to comment.