Skip to content
This repository has been archived by the owner on Sep 4, 2022. It is now read-only.

Commit

Permalink
everything is done!!!!
Browse files Browse the repository at this point in the history
  • Loading branch information
arvid220u committed Jun 19, 2022
1 parent 32df434 commit 919c6e6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions schema/daemon.proto
Original file line number Diff line number Diff line change
Expand Up @@ -106,15 +106,16 @@ message BaseMessage {

message IncomingMessage {
BaseMessage m = 1;
google.protobuf.Timestamp received_timestamp = 2;
google.protobuf.Timestamp delivered_at = 2;
bool seen = 3;
bool delivered = 4;
}

message OutgoingMessage {
BaseMessage m = 1;
google.protobuf.Timestamp written_timestamp = 2;
google.protobuf.Timestamp sent_at = 2;
bool delivered = 3;
google.protobuf.Timestamp delivered_at = 4;
}

message GetMessagesRequest {
Expand Down Expand Up @@ -142,7 +143,7 @@ message GetSentMessagesResponse {
}

message MessageSeenRequest {
string id = 1;
int32 id = 1;
}

message MessageSeenResponse {}
Expand All @@ -153,6 +154,7 @@ message GetStatusResponse {
bool registered = 1;
string release_hash = 2;
int32 latency_seconds = 3;
string server_address = 4;
}

message GetLatencyRequest {}
Expand Down

0 comments on commit 919c6e6

Please sign in to comment.