Skip to content
This repository has been archived by the owner on Mar 15, 2023. It is now read-only.

Commit

Permalink
fix: 修改qq没有配置kaiheila的时候桥不同步
Browse files Browse the repository at this point in the history
  • Loading branch information
rabbitkiller-dev committed Aug 31, 2021
1 parent 3de6671 commit ef206f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/el-bot/bridge-qq.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default async function bridgeQq() {
BotService.qqBot.mirai.on('GroupMessage', async (qqMsg: MessageType.GroupMessage) => {
// 查询这个频道是否需要通知到群
const bridge: BridgeConfig = config.bridges.find(b => b.qqGroup === qqMsg.sender.group.id);
if (!bridge || !bridge.kaiheila) {
if (!bridge) {
return;
}
const bridgeMessage = await qqMessageToBridgeMessage(qqMsg, bridge);
Expand Down

0 comments on commit ef206f5

Please sign in to comment.