Skip to content

Commit 8f7ea65

Browse files
committed
fuck tx, resolve friendquest wrong field
1 parent 30bfef3 commit 8f7ea65

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

lagrange/client/server_push/msg.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ async def msg_push_handler(client: "Client", sso: SSOPacket):
129129
pkg.response_head.to_uin,
130130
pb.info.to_uid,
131131
pb.info.verify,
132-
pb.info.source,
132+
pb.info.source or pb.info.source_new,
133133
)
134134
elif sub_typ == 138: # friend recall
135135
pb = PBFriendRecall.decode(pkg.message.buf2)

lagrange/pb/status/friend.py

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ class PBFriendRecall(ProtoStruct):
1717
class FriendRequestInfo(ProtoStruct):
1818
to_uid: str = proto_field(1)
1919
from_uid: str = proto_field(2)
20+
source_new :str = proto_field(5)
2021
verify: str = proto_field(10) # 验证消息:我是...
2122
source: str = proto_field(11)
2223

0 commit comments

Comments
 (0)