mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 19:17:38 +08:00
fix group poke.
This commit is contained in:
parent
d8eaf11f59
commit
498ec93183
@ -560,9 +560,9 @@ func decodeOnlinePushReqPacket(c *QQClient, seq uint16, payload []byte) (interfa
|
|||||||
}
|
}
|
||||||
if b.OptGeneralGrayTip != nil {
|
if b.OptGeneralGrayTip != nil {
|
||||||
switch b.OptGeneralGrayTip.TemplId {
|
switch b.OptGeneralGrayTip.TemplId {
|
||||||
case 10043: // 戳一戳
|
case 10043, 1136: // 戳一戳
|
||||||
var sender int64 = 0
|
var sender int64 = 0
|
||||||
var receiver int64 = 0
|
receiver := c.Uin
|
||||||
for _, templ := range b.OptGeneralGrayTip.MsgTemplParam {
|
for _, templ := range b.OptGeneralGrayTip.MsgTemplParam {
|
||||||
if templ.Name == "uin_str1" {
|
if templ.Name == "uin_str1" {
|
||||||
sender, _ = strconv.ParseInt(templ.Value, 10, 64)
|
sender, _ = strconv.ParseInt(templ.Value, 10, 64)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user