Skip to content

Commit

Permalink
fix: at死循环
Browse files Browse the repository at this point in the history
  • Loading branch information
Icalinguaplusplus committed Jun 21, 2024
1 parent a917725 commit 13414d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion icalingua-bridge-oicq/adapters/oicqAdapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1262,7 +1262,7 @@ const adapter = {
try {
const atQQ = Number(icalinguaAt[1])
const name = decodeURIComponent(icalinguaAt[2])
if (!name) continue
if (!name) break
at.push({
id: atQQ === 1 ? 'all' : atQQ,
text: name,
Expand Down
2 changes: 1 addition & 1 deletion icalingua/src/main/adapters/oicqAdapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1512,7 +1512,7 @@ const adapter: OicqAdapter = {
try {
const atQQ = Number(icalinguaAt[1])
const name = decodeURIComponent(icalinguaAt[2])
if (!name) continue
if (!name) break
at.push({
id: atQQ === 1 ? 'all' : atQQ,
text: name,
Expand Down

0 comments on commit 13414d4

Please sign in to comment.