mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-29 01:08:50 -04:00
implemented gp-authed lobbies. Still needs some GUI
This commit is contained in:
parent
260da99955
commit
040b4fb949
5 changed files with 115 additions and 47 deletions
|
@ -128,6 +128,7 @@ void CreateLobbyDialog::createLobby()
|
|||
case GxsIdChooser::NoId:
|
||||
case GxsIdChooser::None:
|
||||
return ;
|
||||
default: break ;
|
||||
}
|
||||
// add to group
|
||||
|
||||
|
@ -136,6 +137,9 @@ void CreateLobbyDialog::createLobby()
|
|||
if(ui->security_CB->currentIndex() == 0)
|
||||
lobby_flags |= RS_CHAT_LOBBY_FLAGS_PUBLIC ;
|
||||
|
||||
if(ui->pgp_signed_CB->isChecked())
|
||||
lobby_flags |= RS_CHAT_LOBBY_FLAGS_PGP_SIGNED ;
|
||||
|
||||
ChatLobbyId id = rsMsgs->createChatLobby(lobby_name,gxs_id, lobby_topic, shareList, lobby_flags);
|
||||
|
||||
std::cerr << "gui: Created chat lobby " << std::hex << id << std::dec << std::endl ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue