added exchange and auto-update of public chat lobby lists.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4758 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2012-01-07 13:33:30 +00:00
parent e9d6940b09
commit 434ba06c82
9 changed files with 112 additions and 33 deletions

View file

@ -159,13 +159,20 @@ class ChatLobbyInvite
class PublicChatLobbyRecord
{
public:
PublicChatLobbyRecord() { total_number_of_peers = 0 ; }
ChatLobbyId lobby_id ; // unique id of the lobby
std::string lobby_name ; // name to use for this lobby
std::set<std::string> participating_friends ; // list of direct friend who participate. Used to broadcast sent messages.
uint32_t total_number_of_peers ; // total number of particpating peers. Might not be
};
class ChatLobbyInfo: public PublicChatLobbyRecord
class ChatLobbyInfo
{
public:
ChatLobbyId lobby_id ; // unique id of the lobby
std::string lobby_name ; // name to use for this lobby
std::set<std::string> participating_friends ; // list of direct friend who participate. Used to broadcast sent messages.
std::string nick_name ; // nickname to use for this lobby
uint32_t lobby_privacy_level ; // see RS_CHAT_LOBBY_