mirror of
https://github.com/mamoe/mirai.git
synced 2025-02-07 05:49:14 +08:00
Fix missed PC client message
This commit is contained in:
parent
3e4d279bcc
commit
ee906d85f3
@ -427,7 +427,7 @@ internal suspend fun MsgComm.Msg.transform(bot: QQAndroidBot): Packet? {
|
||||
?: return null
|
||||
|
||||
with(data.msgHeader ?: return null) {
|
||||
if (srcUin != dstUin || dstUin != bot.id) return null
|
||||
if (dstUin != bot.id) return null
|
||||
val client = bot.otherClients.find { it.appId == srcInstId }
|
||||
?: return null// don't compare with dstAppId. diff.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user