From e4cf3ab419456199e3d82f0d78ee458d55244ae7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Huan=20LI=20=28=E6=9D=8E=E5=8D=93=E6=A1=93=29?= Date: Thu, 18 Mar 2021 00:11:58 +0800 Subject: [PATCH] use `optional` in friendship source (#109) --- proto/wechaty/puppet/friendship.proto | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proto/wechaty/puppet/friendship.proto b/proto/wechaty/puppet/friendship.proto index b10b5437..e6a2777c 100644 --- a/proto/wechaty/puppet/friendship.proto +++ b/proto/wechaty/puppet/friendship.proto @@ -63,8 +63,8 @@ message FriendshipSearchWeixinResponse { message FriendshipAddRequest { string contact_id = 1; string hello = 2; - google.protobuf.StringValue source_room_id = 3; - google.protobuf.StringValue source_contact_id = 4; + optional string source_room_id = 3; + optional string source_contact_id = 4; } message FriendshipAddResponse {}