Server outbound processing chain + server messages uuids

This commit is contained in:
ycc
2022-09-19 20:16:57 +02:00
parent 37f6d7b93a
commit adb058492f
6 changed files with 181 additions and 146 deletions

View File

@ -28,16 +28,17 @@ message ToServerMessage {
repeated PackedUserMessage messages = 5;
repeated Server knownServers = 6;
string uuid = 7;
}
// structure defining a from server receiver message decrypted from a "packedmessage" payload
message FromServerMessage {
string type = 1; // Type
string serverPubKey = 2 ; // My pub key for the server to send me an encrypter answer
string serverPublicKey = 2 ; // Pub key from the server
bytes payload = 3 ; //
uint64 serverReceived = 4 ;
string serverUuid = 5 ;
string uuidAck = 4 ; // Ack for the last received ToServerMessage Uuid
string serverUuid = 5 ; // Provides the server uuid that replaced the client uuid
message ConversationResponse {
repeated string messageUuids = 1;
@ -66,8 +67,8 @@ message Server {
message ContactCard {
string name=1;
string contactPublicKey =2;
string encryptionPublicKey= 3;
string lookupPublicKey =4;
string encryptionPublicKey= 3;
string lookupPublicKey =4;
repeated Server pullServers =5;
int32 version = 6;
}