🐞 fix(聊天): 修复上一条会发出多条推送

This commit is contained in:
luying
2023-05-05 16:22:47 +08:00
parent 0982a9b9e0
commit 9f575bac20

View File

@@ -87,8 +87,9 @@ export async function getServersByGroupId(groupId: number, fun: SERVER_GROUP_FUN
if(fun == SERVER_GROUP_FUN_TYPE.GVG) {
let openTime = parseInt(serverCreateTimes[obj[0]]);
return obj[1] == groupId && getServerTypeByTime(openTime) == GVG_SERVER_TYPE.MULTI;
} else {
return obj[1] == groupId
}
return true
}).map(obj => obj[0]);
}