Follower simplification (#8026)

Release Notes:

- Improved reliability of following
This commit is contained in:
Conrad Irwin 2024-02-20 09:41:37 -07:00 committed by GitHub
parent db0eaca2e5
commit b14d576349
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 143 additions and 76 deletions

View file

@ -1290,6 +1290,8 @@ message Follow {
}
message FollowResponse {
View active_view = 3;
// TODO: after 0.124.0 is retired, remove these.
optional ViewId active_view_id = 1;
repeated View views = 2;
}
@ -1297,10 +1299,11 @@ message FollowResponse {
message UpdateFollowers {
uint64 room_id = 1;
optional uint64 project_id = 2;
repeated PeerId follower_ids = 3;
reserved 3;
oneof variant {
UpdateActiveView update_active_view = 4;
View create_view = 5;
// TODO: after 0.124.0 is retired, remove these.
UpdateActiveView update_active_view = 4;
UpdateView update_view = 6;
}
}
@ -1329,6 +1332,7 @@ message ViewId {
message UpdateActiveView {
optional ViewId id = 1;
optional PeerId leader_id = 2;
View view = 3;
}
message UpdateView {