Skip to content

Commit

Permalink
fix: group id and installation id are bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Normore committed Jan 11, 2024
1 parent bf21f44 commit e4cd0b5
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 30 deletions.
32 changes: 16 additions & 16 deletions go/mls/api/v1/mls.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions go/mls/message_contents/message.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions go/mls_validation/v1/service.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions proto/mls/api/v1/mls.proto
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ message PagingInfo {

// Request for group message queries
message QueryGroupMessagesRequest {
string group_id = 1;
bytes group_id = 1;
PagingInfo paging_info = 2;
}

Expand All @@ -251,7 +251,7 @@ message QueryGroupMessagesResponse {

// Request for welcome message queries
message QueryWelcomeMessagesRequest {
string installation_id = 1;
bytes installation_id = 1;
PagingInfo paging_info = 2;
}

Expand All @@ -263,10 +263,10 @@ message QueryWelcomeMessagesResponse {

// Request for following group messages
message SubscribeGroupMessagesRequest {
string group_id = 1;
bytes group_id = 1;
}

// Request for following welcome messages
message SubscribeWelcomeMessagesRequest {
string installation_id = 1;
bytes installation_id = 1;
}
2 changes: 1 addition & 1 deletion proto/mls/message_contents/message.proto
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ message GroupMessage {
message V1 {
uint64 id = 1;
uint64 created_ns = 2;
string group_id = 3;
bytes group_id = 3;
bytes data = 4;
}

Expand Down
2 changes: 1 addition & 1 deletion proto/mls_validation/v1/service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ message ValidateGroupMessagesResponse {
message ValidationResponse {
bool is_ok = 1;
string error_message = 2;
string group_id = 3;
bytes group_id = 3;
}

repeated ValidationResponse responses = 1;
Expand Down

0 comments on commit e4cd0b5

Please sign in to comment.