Peer invitation refactor, Contact invitationId, Qrcode compression

This commit is contained in:
ycc
2022-11-27 21:08:34 +01:00
parent 2516b41597
commit 8195a22300
10 changed files with 466 additions and 128 deletions

View File

@ -58,7 +58,9 @@ message Server {
string description=2;
string publicKey = 3;
string url = 4;
int32 confidenceLevel = 5;
bool publish = 5; // publish this server when asked for a list by server
bytes signature = 6; // signature of all previous field by the server itself
int32 confidenceLevel = 7; // additional info from the user
}
// structure describing a user contact card ie the minimum set of attributes for exchanging identities
@ -68,7 +70,8 @@ message ContactCard {
string encryptionPublicKey= 3;
string lookupPublicKey =4;
repeated Server pullServers =5;
int32 version = 6;
uint32 version = 6;
string invitationId=7;
}
// structure for sending a message to be forwarded to another user in protobuf format
@ -106,4 +109,13 @@ message UserMessage {
repeated ContactCard members = 2;
}
Group group = 8;
File file = 9;
}
message File {
string filename=1;
uint64 size=2;
uint32 chunk=3;
bytes data=4;
}