Send increased protocol version number if CDN key or attachment are used.

This commit is contained in:
Ehren Kret
2020-04-05 18:56:18 -07:00
committed by Greyson Parrelli
parent 428128651e
commit 3c6a7b76ca
2 changed files with 15 additions and 8 deletions

View File

@@ -187,12 +187,13 @@ message DataMessage {
enum ProtocolVersion {
option allow_alias = true;
INITIAL = 0;
MESSAGE_TIMERS = 1;
VIEW_ONCE = 2;
VIEW_ONCE_VIDEO = 3;
REACTIONS = 4;
CURRENT = 4;
INITIAL = 0;
MESSAGE_TIMERS = 1;
VIEW_ONCE = 2;
VIEW_ONCE_VIDEO = 3;
REACTIONS = 4;
CDN_SELECTOR_ATTACHMENTS = 5;
CURRENT = 5;
}
optional string body = 1;