Implement Room::set_location
This commit is contained in:
@@ -20,6 +20,7 @@ message Envelope {
|
||||
IncomingCall incoming_call = 1000;
|
||||
CancelCall cancel_call = 1001;
|
||||
DeclineCall decline_call = 13;
|
||||
UpdateParticipantLocation update_participant_location = 1003;
|
||||
RoomUpdated room_updated = 14;
|
||||
|
||||
ShareProject share_project = 15;
|
||||
@@ -190,6 +191,11 @@ message CancelCall {}
|
||||
|
||||
message DeclineCall {}
|
||||
|
||||
message UpdateParticipantLocation {
|
||||
uint64 room_id = 1;
|
||||
ParticipantLocation location = 2;
|
||||
}
|
||||
|
||||
message RoomUpdated {
|
||||
Room room = 1;
|
||||
}
|
||||
|
||||
@@ -170,6 +170,7 @@ messages!(
|
||||
(UpdateFollowers, Foreground),
|
||||
(UpdateInviteInfo, Foreground),
|
||||
(UpdateLanguageServer, Foreground),
|
||||
(UpdateParticipantLocation, Foreground),
|
||||
(UpdateProject, Foreground),
|
||||
(UpdateWorktree, Foreground),
|
||||
(UpdateWorktreeExtensions, Background),
|
||||
@@ -222,6 +223,7 @@ request_messages!(
|
||||
(ShareProject, ShareProjectResponse),
|
||||
(Test, Test),
|
||||
(UpdateBuffer, Ack),
|
||||
(UpdateParticipantLocation, Ack),
|
||||
(UpdateWorktree, Ack),
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user