Always include room id in protos

This is redundant, but it futures-proof the ability to talk about
multiple rooms at any given time and feels safer in terms of race
conditions.
This commit is contained in:
Antonio Scandurra 2022-10-06 15:20:49 +02:00
parent baf6097b49
commit 95e08edbb8
4 changed files with 36 additions and 8 deletions

View file

@ -193,10 +193,13 @@ message IncomingCall {
message CallCanceled {}
message CancelCall {
uint64 recipient_user_id = 1;
uint64 room_id = 1;
uint64 recipient_user_id = 2;
}
message DeclineCall {}
message DeclineCall {
uint64 room_id = 1;
}
message UpdateParticipantLocation {
uint64 room_id = 1;