mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-21 10:42:25 +08:00
parent
db4c41f84a
commit
0baaf9d587
@ -501,7 +501,7 @@ internal suspend fun MsgComm.Msg.transform(bot: QQAndroidBot, fromSync: Boolean
|
||||
member.checkIsMemberImpl()
|
||||
|
||||
member.lastMessageSequence.loop { instant ->
|
||||
if (msgHead.msgSeq > instant) {
|
||||
if (member.lastMessageSequence.value != msgHead.msgSeq && contentHead?.autoReply != 1) {
|
||||
if (member.lastMessageSequence.compareAndSet(instant, msgHead.msgSeq)) {
|
||||
return if (fromSync) {
|
||||
GroupTempMessageSyncEvent(
|
||||
|
Loading…
Reference in New Issue
Block a user