Add group call update to DataMessage

This commit is contained in:
Evan Hahn 2020-11-16 13:58:54 -06:00 committed by Josh Perez
parent c6e4c1d1a9
commit 1e4b6df5f8
2 changed files with 9 additions and 0 deletions

View file

@ -227,6 +227,11 @@ message DataMessage {
//}
}
message GroupCallUpdate {
// Currently just a sentinel message indicating that a client should
// fetch updated group call state.
}
enum ProtocolVersion {
option allow_alias = true;
@ -257,6 +262,7 @@ message DataMessage {
optional Reaction reaction = 16;
optional Delete delete = 17;
repeated BodyRange bodyRanges = 18;
optional GroupCallUpdate groupCallUpdate = 19;
}
message NullMessage {

3
ts/textsecure.d.ts vendored
View file

@ -576,6 +576,7 @@ export declare class DataMessageClass {
reaction?: DataMessageClass.Reaction;
delete?: DataMessageClass.Delete;
bodyRanges?: Array<DataMessageClass.BodyRange>;
groupCallUpdate?: DataMessageClass.GroupCallUpdate;
}
// Note: we need to use namespaces to express nested classes in Typescript
@ -648,6 +649,8 @@ export declare namespace DataMessageClass {
stickerId?: number;
data?: AttachmentPointerClass;
}
class GroupCallUpdate {}
}
// Note: we need to use namespaces to express nested classes in Typescript