We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1092933 commit df8c17aCopy full SHA for df8c17a
lagrange/client/server_push/msg.py
@@ -101,10 +101,7 @@ async def msg_push_handler(client: "Client", sso: SSOPacket):
101
return GroupMemberJoinRequest(grp_id=inn.grp_id, uid=inn.uid, invitor_uid=inn.invitor_uid)
102
elif typ == 0x210: # friend event, 528 / group file upload notice event
103
if sub_typ == 35: # friend request
104
- try:
105
- pb = PBFriendRequest.decode(pkg.message.buf2)
106
- except KeyError: # 空包wdnmd
107
- return
+ pb = PBFriendRequest.decode(pkg.message.buf2)
108
return FriendRequest(
109
pkg.response_head.from_uin,
110
pb.info.from_uid,
0 commit comments