mirror of
https://github.com/mamoe/mirai.git
synced 2025-03-25 23:10:12 +08:00
[core] fix: announcements cookie (#2512)
This commit is contained in:
parent
f4667fe1ef
commit
bec756e0bf
@ -270,7 +270,9 @@ internal object AnnouncementProtocol {
|
||||
})
|
||||
)
|
||||
cookie("uin", "o$id")
|
||||
cookie("p_uin", "o$id")
|
||||
cookie("skey", sKey)
|
||||
cookie("p_skey", psKey("qun.qq.com"))
|
||||
}.bodyAsText().loadSafelyAs(GroupAnnouncementList.serializer())
|
||||
}
|
||||
|
||||
@ -299,6 +301,7 @@ internal object AnnouncementProtocol {
|
||||
cookie("uin", "o$id")
|
||||
cookie("p_uin", "o$id")
|
||||
cookie("skey", sKey)
|
||||
cookie("p_skey", psKey("qun.qq.com"))
|
||||
}.bodyAsText().loadAs(GroupAnnouncement.serializer())
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user