VRFS-282 VRFS-283 toasts / notifications for friend updates and requests
This commit is contained in:
parent
50494c5fbd
commit
7d26ab8aab
|
|
@ -193,10 +193,12 @@ message Heartbeat {
|
|||
// target: client
|
||||
// send from server to client when user sends a friend request
|
||||
message FriendRequest {
|
||||
optional string user_id = 1;
|
||||
optional string name = 2;
|
||||
optional string photo_url = 3;
|
||||
optional string friend_id = 4;
|
||||
optional string id = 1;
|
||||
optional string user_id = 2;
|
||||
optional string name = 3;
|
||||
optional string photo_url = 4;
|
||||
optional string friend_id = 5;
|
||||
optional string msg = 6;
|
||||
}
|
||||
|
||||
// target: client
|
||||
|
|
@ -205,13 +207,17 @@ message FriendRequestAccepted {
|
|||
optional string name = 2;
|
||||
optional string photo_url = 3;
|
||||
optional string user_id = 4; // original requester
|
||||
optional string msg = 5;
|
||||
}
|
||||
|
||||
// target: client
|
||||
// send from server to client when a user logs in
|
||||
message FriendUpdate {
|
||||
optional string user_id = 1;
|
||||
optional bool online = 2;
|
||||
optional string name = 2;
|
||||
optional string photo_url = 3;
|
||||
optional bool online = 4;
|
||||
optional string msg = 5;
|
||||
}
|
||||
|
||||
// route_to: user:[USER_ID]
|
||||
|
|
|
|||
Loading…
Reference in New Issue