🎨refactor: 删除控制台调试信息

main
LiaoYijun 7 months ago
parent 65d5758148
commit 5c1147f57e

@ -277,16 +277,13 @@ const createWhatsApp = async phone => {
// 没有类型的消息,先忽略
if (!msg.message) {
console.info('!msg.message, ignored.');
continue;
}
if (isJidStatusBroadcast(msg.key.remoteJid)) {
console.info('isJidStatusBroadcast, ignored.');
continue;
}
if (isJidNewsletter(msg.key.remoteJid)) {
console.info('isJidNewsletter, ignored.');
continue;
}
@ -342,7 +339,6 @@ const createWhatsApp = async phone => {
).then(msg => {
externalIdCache.set(msg.key.id, externalId)
}).catch(ex => {
console.info('sendMessageHandler.catch: ', ex)
waEmitter.emit('message:updated', {
id: generateId(),
externalId,

Loading…
Cancel
Save