2020-01-10 18:59:01 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
2021-08-06 15:40:23 +00:00
|
|
|
option go_package = "./;protobuf";
|
2020-01-10 18:59:01 +00:00
|
|
|
package protobuf;
|
2023-02-02 18:12:20 +00:00
|
|
|
|
|
|
|
message ContactRequestPropagatedState {
|
|
|
|
uint64 local_clock = 1;
|
|
|
|
uint64 local_state = 2;
|
|
|
|
uint64 remote_clock = 3;
|
|
|
|
uint64 remote_state = 4;
|
|
|
|
}
|
2020-01-10 18:59:01 +00:00
|
|
|
|
|
|
|
message ContactUpdate {
|
|
|
|
uint64 clock = 1;
|
|
|
|
string ens_name = 2;
|
|
|
|
string profile_image = 3;
|
2022-02-17 15:13:10 +00:00
|
|
|
string display_name = 4;
|
2023-01-20 14:28:30 +00:00
|
|
|
uint64 contact_request_clock = 5;
|
2023-02-02 18:12:20 +00:00
|
|
|
ContactRequestPropagatedState contact_request_propagated_state = 6;
|
2023-03-28 03:45:54 +00:00
|
|
|
string public_key = 7;
|
2022-01-18 16:31:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message AcceptContactRequest {
|
|
|
|
string id = 1;
|
|
|
|
uint64 clock = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message RetractContactRequest {
|
|
|
|
string id = 1;
|
|
|
|
uint64 clock = 2;
|
2020-01-10 18:59:01 +00:00
|
|
|
}
|