Fix missed PC client message

This commit is contained in:
sandtechnology 2021-01-11 21:44:58 +08:00
parent 3e4d279bcc
commit ee906d85f3

View File

@ -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.