mirror of
https://github.com/chrononeko/chronocat.git
synced 2024-11-22 07:07:53 +00:00
fix(api): try to fix msgBoxActiv (chrononeko/bugtracker#78)
This commit is contained in:
parent
7d0ff80fbf
commit
bc238645b4
@ -345,7 +345,10 @@ const responseDispatcher = async (
|
|||||||
switch (listType) {
|
switch (listType) {
|
||||||
case ContactListType.Normal: {
|
case ContactListType.Normal: {
|
||||||
for (const contact of changedList)
|
for (const contact of changedList)
|
||||||
if (contact.chatType === ChatType.MsgBox)
|
if (
|
||||||
|
contact.chatType === ChatType.Private ||
|
||||||
|
contact.chatType === ChatType.Group
|
||||||
|
)
|
||||||
ctx.chronocatEngineChronocatApi.msgBoxActiv.activate({
|
ctx.chronocatEngineChronocatApi.msgBoxActiv.activate({
|
||||||
chatType: contact.chatType,
|
chatType: contact.chatType,
|
||||||
peerUid: contact.peerUid,
|
peerUid: contact.peerUid,
|
||||||
|
Loading…
Reference in New Issue
Block a user