request jobs generation
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
ycc
2024-01-12 23:17:34 +01:00
parent a9f3b548e5
commit 48b2e78b41
5 changed files with 442 additions and 285 deletions

View File

@ -37,10 +37,15 @@ message Invitation {
message ConversationRequest {
string lookupKey = 1; // lookup key for a conversation
string lastServerUuidOK = 2; // Last Server message UUID received (send me all after that one)
bool publishOnline = 3; // ?? Publish my online status for that contact ?
int64 sendTimestamp = 3;
string lookupSignature = 4; // prove that I own the private key by signing that block
}
message Meet {
string public_status = 1; // Publish my online status, if the server is a meeting server
ContactCard contact_card = 2; // mine or the requester
string message = 3; // short description
}
// structure defining a message for a server, that will be encrypted, then sent in a "packedmessage" payload
message ToServerMessage {
@ -48,13 +53,13 @@ message ToServerMessage {
string from = 2 ; // My pub key for the server to send me an encrypter answer
bytes payload = 3 ; // optional payload for server
repeated ConversationRequest pullRequest = 4;
repeated ConversationRequest pull_request = 4;
repeated PackedUserMessage messages = 5;
repeated ServerCard knownServers = 6;
repeated ServerCard known_servers = 6;
Matriochka matriochkaMessage = 7;
Matriochka matriochka_message = 7;
string uuid = 8;