From 7d26ab8aab663cf37755c5c24d48662107489ed9 Mon Sep 17 00:00:00 2001 From: Brian Smith Date: Sun, 31 Mar 2013 14:07:25 -0400 Subject: [PATCH] VRFS-282 VRFS-283 toasts / notifications for friend updates and requests --- src/client_container.proto | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/src/client_container.proto b/src/client_container.proto index 4d9cbe9dd..6b93de8b6 100644 --- a/src/client_container.proto +++ b/src/client_container.proto @@ -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]