Skip to content

Commit 378d3e9

Browse files
committed
fix(event): KeyError on parsing GroupNudge
1 parent c453b4f commit 378d3e9

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

lagrange/client/server_push/msg.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ async def msg_push_handler(client: "Client", sso: SSOPacket):
105105
grp_id,
106106
attrs["uin_str1"],
107107
attrs["uin_str2"],
108-
attrs["action_str"],
109-
attrs["suffix_str"],
108+
attrs.get("action_str", ""), # ?
109+
attrs.get("suffix_str", ""),
110110
attrs,
111111
pb.body.attrs_xml,
112112
)

0 commit comments

Comments
 (0)