Skip to content

Commit

Permalink
fix: UpdateGroup with user's keychain
Browse files Browse the repository at this point in the history
  • Loading branch information
GoldenSheep402 committed Nov 8, 2023
1 parent 0ade793 commit ba93d18
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion proto/sync/v1/group.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ option go_package = "github.com/juanjiTech/jTerm-proto/gen/proto/sync/v1;syncV1"

message Group {

Check failure on line 8 in proto/sync/v1/group.proto

View workflow job for this annotation

GitHub Actions / breaking

Previously present field "2" with name "member_id" on message "Group" was deleted.
GroupBasic group_basic = 1;
repeated string member_id = 2;
repeated GroupKeyChain group_keychain = 3;
}

message GroupBasic {
Expand All @@ -21,3 +21,8 @@ message GroupBasic {
string uid = 8; // 创建者
string publicKey = 9; // 公钥,公钥存在服务器上,加密的私钥与相关用户关联存储
}

message GroupKeyChain{
string member_id = 1;
string privateKey = 2;
}

0 comments on commit ba93d18

Please sign in to comment.