Skip to content

Commit d1306c3

Browse files
committed
fix(event): GroupNudge error when recv VIP nudge
1 parent b54ff93 commit d1306c3

File tree

1 file changed

+4
-2
lines changed
  • lagrange/client/server_push

1 file changed

+4
-2
lines changed

lagrange/client/server_push/msg.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,10 @@ async def msg_push_handler(client: "Client", sso: SSOPacket):
105105
grp_id,
106106
attrs["uin_str1"],
107107
attrs["uin_str2"],
108-
attrs.get("action_str", ""), # ?
109-
attrs.get("suffix_str", ""),
108+
attrs["action_str"]
109+
if "action_str" in attrs
110+
else attrs["alt_str1"], # ?
111+
attrs["suffix_str"],
110112
attrs,
111113
pb.body.attrs_xml,
112114
)

0 commit comments

Comments
 (0)