Shamrock: 复皆如何推送,遗类也。

This commit is contained in:
WhiteChi 2023-11-25 20:05:32 +08:00
parent 544e216ddb
commit 8d8846fafb

View File

@ -178,7 +178,7 @@ internal object AioListener: IKernelMsgListener {
.updateMsgSeqByMsgHash(msgHash, record.msgSeq.toInt()) .updateMsgSeqByMsgHash(msgHash, record.msgSeq.toInt())
} }
if (!ShamrockConfig.enableSelfMsg()) if (!ShamrockConfig.enableSelfMsg() || record.senderUin != TicketSvc.getLongUin())
return@launch return@launch
val rawMsg = record.elements.toCQCode(record.chatType, record.peerUin.toString()) val rawMsg = record.elements.toCQCode(record.chatType, record.peerUin.toString())