Add 'from' field to PackedUserMessage
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
ycc
2024-02-13 21:00:50 +01:00
parent 0466b1fe05
commit 8c8326780f
3 changed files with 226 additions and 187 deletions

View File

@ -131,9 +131,10 @@ message ContactCard {
// structure for sending a message to be forwarded to another user in protobuf format
message PackedUserMessage {
string destination=1; // the peer's current conversation lookup public key
bytes payload=2; // the message UserMessage encrypted with the destination peer's public key
bytes signature=3; // the payload signature with the client identity private key
repeated int64 serverTimestamp=4; // server time stamp, might be several in matriochka mode
string from=2; // the contact identity public key
bytes payload=3; // the message UserMessage encrypted with the destination peer's public key
bytes signature=4; // the payload signature with the contact identity private key
repeated int64 serverTimestamp=5; // server time stamp, might be several in matriochka mode
}
message ConversationStatus {