mirror of
https://github.com/mamoe/mirai.git
synced 2024-12-29 10:00:13 +08:00
修复禁言匿名成员 (#2711)
This commit is contained in:
parent
545e5bb310
commit
356f00b54b
@ -59,6 +59,7 @@ import net.mamoe.mirai.internal.network.protocol.packet.chat.voice.PttStore
|
||||
import net.mamoe.mirai.internal.network.protocol.packet.list.FriendList
|
||||
import net.mamoe.mirai.internal.network.protocol.packet.login.StatSvc
|
||||
import net.mamoe.mirai.internal.network.protocol.packet.summarycard.SummaryCard
|
||||
import net.mamoe.mirai.internal.network.psKey
|
||||
import net.mamoe.mirai.internal.network.sKey
|
||||
import net.mamoe.mirai.internal.utils.MiraiProtocolInternal
|
||||
import net.mamoe.mirai.internal.utils.crypto.TEA
|
||||
@ -609,7 +610,7 @@ internal open class MiraiImpl : IMirai, LowLevelApiAccessor {
|
||||
// ktor bug
|
||||
append(
|
||||
"cookie",
|
||||
"uin=o${bot.id}; skey=${bot.sKey};"
|
||||
"uin=o${bot.id}; skey=${bot.sKey}; p_uin=o${bot.id}; p_skey=${bot.psKey(host)};"
|
||||
)
|
||||
}
|
||||
}.bodyAsText()
|
||||
|
Loading…
Reference in New Issue
Block a user