Skip to content

Commit

Permalink
[core] fix: announcements cookie (#2512)
Browse files Browse the repository at this point in the history
  • Loading branch information
cssxsh authored Feb 19, 2023
1 parent f4667fe commit bec756e
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}

Expand Down Expand Up @@ -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())
}

Expand Down

0 comments on commit bec756e

Please sign in to comment.