Update link preview sync settings.

We need to rotate the link preview setting to avoid newer desktops with
older mobile clients from generating proxy-less previews.
master
Greyson Parrelli 2020-08-19 13:19:57 -04:00 committed by Alex Hart
parent 220ebf93c7
commit 6cffd0a723
2 changed files with 5 additions and 2 deletions

View File

@ -353,8 +353,9 @@ message SyncMessage {
optional bool readReceipts = 1; optional bool readReceipts = 1;
optional bool unidentifiedDeliveryIndicators = 2; optional bool unidentifiedDeliveryIndicators = 2;
optional bool typingIndicators = 3; optional bool typingIndicators = 3;
optional bool linkPreviews = 4; // 4 is reserved (old link preview setting)
optional uint32 provisioningVersion = 5; optional uint32 provisioningVersion = 5;
optional bool linkPreviews = 6;
} }
message StickerPackOperation { message StickerPackOperation {

View File

@ -105,5 +105,7 @@ message AccountRecord {
bool readReceipts = 6; bool readReceipts = 6;
bool sealedSenderIndicators = 7; bool sealedSenderIndicators = 7;
bool typingIndicators = 8; bool typingIndicators = 8;
bool linkPreviews = 9; bool proxiedLinkPreviews = 9;
// 10 is reserved for unread
bool linkPreviews = 11;
} }