Leave room when Room entity is dropped

This commit is contained in:
Antonio Scandurra 2022-09-26 14:27:52 +02:00
parent 573086eed2
commit e55e7e4844
6 changed files with 89 additions and 20 deletions

View file

@ -15,6 +15,7 @@ message Envelope {
CreateRoomResponse create_room_response = 9;
JoinRoom join_room = 10;
JoinRoomResponse join_room_response = 11;
LeaveRoom leave_room = 1002;
Call call = 12;
IncomingCall incoming_call = 1000;
CancelCall cancel_call = 1001;
@ -149,6 +150,10 @@ message JoinRoomResponse {
Room room = 1;
}
message LeaveRoom {
uint64 id = 1;
}
message Room {
repeated Participant participants = 1;
repeated uint64 pending_user_ids = 2;