Make project id optional when following - server only
This commit is contained in:
parent
83455028b0
commit
c71566e7f5
10 changed files with 204 additions and 55 deletions
|
@ -274,7 +274,7 @@ message ParticipantProject {
|
|||
message Follower {
|
||||
PeerId leader_id = 1;
|
||||
PeerId follower_id = 2;
|
||||
uint64 project_id = 3;
|
||||
optional uint64 project_id = 3;
|
||||
}
|
||||
|
||||
message ParticipantLocation {
|
||||
|
@ -1213,8 +1213,9 @@ message UpdateDiagnostics {
|
|||
}
|
||||
|
||||
message Follow {
|
||||
uint64 project_id = 1;
|
||||
PeerId leader_id = 2;
|
||||
uint64 room_id = 1;
|
||||
optional uint64 project_id = 2;
|
||||
PeerId leader_id = 3;
|
||||
}
|
||||
|
||||
message FollowResponse {
|
||||
|
@ -1223,18 +1224,20 @@ message FollowResponse {
|
|||
}
|
||||
|
||||
message UpdateFollowers {
|
||||
uint64 project_id = 1;
|
||||
repeated PeerId follower_ids = 2;
|
||||
uint64 room_id = 1;
|
||||
optional uint64 project_id = 2;
|
||||
repeated PeerId follower_ids = 3;
|
||||
oneof variant {
|
||||
UpdateActiveView update_active_view = 3;
|
||||
View create_view = 4;
|
||||
UpdateView update_view = 5;
|
||||
UpdateActiveView update_active_view = 4;
|
||||
View create_view = 5;
|
||||
UpdateView update_view = 6;
|
||||
}
|
||||
}
|
||||
|
||||
message Unfollow {
|
||||
uint64 project_id = 1;
|
||||
PeerId leader_id = 2;
|
||||
uint64 room_id = 1;
|
||||
optional uint64 project_id = 2;
|
||||
PeerId leader_id = 3;
|
||||
}
|
||||
|
||||
message GetPrivateUserInfo {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue