Implement Room::set_location

This commit is contained in:
Antonio Scandurra
2022-10-04 11:46:01 +02:00
parent 1e45198b9f
commit 456dde200c
8 changed files with 256 additions and 2 deletions
+6
View File
@@ -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;
}
+2
View File
@@ -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),
);