mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-31 18:29:02 -04:00
Updated protobuf definitions to include ChatHistory,
added YOURSELF to friends options, Improved Search Results Interface. git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-rpc-b1@6136 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
ddfc9636de
commit
e833fd1aaa
4 changed files with 26 additions and 22 deletions
|
@ -19,6 +19,7 @@ enum RequestMsgIds {
|
|||
MsgId_RequestSetLobbyNickname = 4;
|
||||
MsgId_RequestRegisterEvents = 5;
|
||||
MsgId_RequestSendMessage = 6;
|
||||
MsgId_RequestChatHistory = 7;
|
||||
}
|
||||
|
||||
enum ResponseMsgIds {
|
||||
|
@ -27,6 +28,7 @@ enum ResponseMsgIds {
|
|||
MsgId_ResponseSetLobbyNickname = 4;
|
||||
MsgId_ResponseRegisterEvents = 5;
|
||||
MsgId_ResponseSendMessage = 6;
|
||||
MsgId_ResponseChatHistory = 7;
|
||||
|
||||
// EVENTS
|
||||
MsgId_EventLobbyInvite = 101;
|
||||
|
@ -223,21 +225,22 @@ message ResponseSendMessage {
|
|||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////
|
||||
//// Chat History.
|
||||
//// THIS IS NOT IMPLEMENTED YET, DONT USE.
|
||||
//
|
||||
//// REQUEST: RequestChatHistory
|
||||
//message RequestChatHistory {
|
||||
// required ChatId id = 1; /* lobby or chat, group id */
|
||||
// required bool incoming = 2;
|
||||
//}
|
||||
//
|
||||
//// RESPONSE: ResponseChatHistory
|
||||
//message ResponseChatHistory {
|
||||
// required rsctrl.core.Status status = 1;
|
||||
// repeated ChatMessage msg = 2;
|
||||
//}
|
||||
//
|
||||
// Chat History.
|
||||
// INITIALLY THIS WILL ONLY WORK WITH PRIVATE CHATS.
|
||||
// NEED TO EXTEND INTERNALS TO HANDLE LOBBIES.
|
||||
|
||||
// REQUEST: RequestChatHistory
|
||||
message RequestChatHistory {
|
||||
required ChatId id = 1; /* lobby or chat, group id */
|
||||
}
|
||||
|
||||
// RESPONSE: ResponseChatHistory
|
||||
message ResponseChatHistory {
|
||||
required rsctrl.core.Status status = 1;
|
||||
required ChatId id = 2; /* lobby or chat, group id */
|
||||
repeated ChatMessage msgs = 3;
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////
|
||||
///////////////////////////////////////////////////////////////
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue