Skip to content

Commit

Permalink
fix(api): try to fix msgBoxActiv (chrononeko/bugtracker#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilharp committed Oct 5, 2024
1 parent 7d0ff80 commit bc23864
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/engine-chronocat-api/src/handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,10 @@ const responseDispatcher = async (
switch (listType) {
case ContactListType.Normal: {
for (const contact of changedList)
if (contact.chatType === ChatType.MsgBox)
if (
contact.chatType === ChatType.Private ||
contact.chatType === ChatType.Group
)
ctx.chronocatEngineChronocatApi.msgBoxActiv.activate({
chatType: contact.chatType,
peerUid: contact.peerUid,
Expand Down

0 comments on commit bc23864

Please sign in to comment.