proto: Remove AcceptTermsOfService message (#36272)

This PR removes the `AcceptTermsOfService` RPC message.

We're no longer using the message after
https://github.com/zed-industries/zed/pull/36255.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2025-08-15 16:21:45 -04:00 committed by GitHub
parent 65f64aa513
commit 7199c733b2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 1 additions and 32 deletions

View file

@ -6,12 +6,6 @@ message UpdateInviteInfo {
uint32 count = 2;
}
message AcceptTermsOfService {}
message AcceptTermsOfServiceResponse {
uint64 accepted_tos_at = 1;
}
message ShutdownRemoteServer {}
message Toast {

View file

@ -136,8 +136,6 @@ message Envelope {
UpdateFollowers update_followers = 100;
Unfollow unfollow = 101;
UpdateDiffBases update_diff_bases = 104;
AcceptTermsOfService accept_terms_of_service = 239;
AcceptTermsOfServiceResponse accept_terms_of_service_response = 240;
OnTypeFormatting on_type_formatting = 105;
OnTypeFormattingResponse on_type_formatting_response = 106;
@ -414,6 +412,7 @@ message Envelope {
reserved 224 to 229;
reserved 230 to 231;
reserved 234 to 236;
reserved 239 to 240;
reserved 246;
reserved 247 to 254;
reserved 255 to 256;

View file

@ -20,8 +20,6 @@ pub const SSH_PEER_ID: PeerId = PeerId { owner_id: 0, id: 0 };
pub const SSH_PROJECT_ID: u64 = 0;
messages!(
(AcceptTermsOfService, Foreground),
(AcceptTermsOfServiceResponse, Foreground),
(Ack, Foreground),
(AckBufferOperation, Background),
(AckChannelMessage, Background),
@ -315,7 +313,6 @@ messages!(
);
request_messages!(
(AcceptTermsOfService, AcceptTermsOfServiceResponse),
(ApplyCodeAction, ApplyCodeActionResponse),
(
ApplyCompletionAdditionalEdits,