@vibe-lark/larkpal 0.1.15 → 0.1.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.mjs +3 -1
- package/package.json +1 -1
package/dist/main.mjs
CHANGED
|
@@ -12462,7 +12462,9 @@ async function main() {
|
|
|
12462
12462
|
}
|
|
12463
12463
|
}
|
|
12464
12464
|
});
|
|
12465
|
-
|
|
12465
|
+
const chatType = event.message?.chat_type;
|
|
12466
|
+
const hasBotMention = (event.message?.mentions ?? []).some((m) => m.id?.open_id === larkClient.botOpenId);
|
|
12467
|
+
if (queueStatus === "queued" && (chatType === "p2p" || hasBotMention)) {
|
|
12466
12468
|
logger.info("消息已排队,发送排队占位卡片", {
|
|
12467
12469
|
msgId,
|
|
12468
12470
|
chatId
|