From 568d9aedaed13f4020e6a408b9be435d4371211f Mon Sep 17 00:00:00 2001 From: Seth Call Date: Sat, 27 Oct 2012 17:26:24 -0500 Subject: [PATCH] * VRFS-27; adding notice that someone received an invitation --- src/client_container.proto | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/client_container.proto b/src/client_container.proto index 653a9ad31..29644c5df 100644 --- a/src/client_container.proto +++ b/src/client_container.proto @@ -19,6 +19,7 @@ message ClientMessage { LEAVE_MUSIC_SESSION_ACK = 106; HEARTBEAT = 107; FRIEND_UPDATE = 108; + SESSION_INVITATION = 109; TEST_SESSION_MESSAGE = 200; @@ -51,6 +52,7 @@ message ClientMessage { optional LeaveMusicSessionAck leave_music_session_ack = 106; optional Heartbeat heartbeat = 107; optional FriendUpdate friend_update = 108; // from server to all friends of user + optional SessionInvitation session_invitation = 109; // from server to user // Client-Session messages (to/from) optional TestSessionMessage test_session_message = 200; @@ -170,6 +172,14 @@ message FriendUpdate { optional bool online = 2; } + +// route_to: user:[USER_ID] +// let a user know they've been invited to a session +message SessionInvitation { + optional string invitation = 1; +} + + // route_to: client // this indicates unhandled error on server // if you receive this, your connection will close after.