Username Link QR Code

This commit is contained in:
Fedor Indutny 2023-07-20 05:14:08 +02:00 committed by GitHub
parent 68dfc46185
commit e1d2dbd8ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
50 changed files with 2187 additions and 120 deletions

View file

@ -147,6 +147,24 @@ message AccountRecord {
}
}
message UsernameLink {
enum Color {
UNKNOWN = 0;
BLUE = 1;
WHITE = 2;
GREY = 3;
OLIVE = 4;
GREEN = 5;
ORANGE = 6;
PINK = 7;
PURPLE = 8;
}
optional bytes entropy = 1; // 32 bytes of entropy used for encryption
optional bytes serverId = 2; // 16 bytes of encoded UUID provided by the server
optional Color color = 3; // color of the QR code itself
}
optional bytes profileKey = 1;
optional string givenName = 2;
optional string familyName = 3;
@ -179,6 +197,7 @@ message AccountRecord {
reserved 32; // hasSeenGroupStoryEducationSheet
optional string username = 33;
optional bool hasCompletedUsernameOnboarding = 34;
optional UsernameLink usernameLink = 35;
}
message StoryDistributionListRecord {