mirror of
https://github.com/whitechi73/OpenShamrock.git
synced 2024-08-14 13:12:17 +08:00
Shamrock
: 复皆如何推送,遗类也。
This commit is contained in:
parent
544e216ddb
commit
8d8846fafb
@ -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())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user