mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 06:06:10 -04:00
in ChatLobbyWidget: show dialog to create a new identity when there is no own identity
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8269 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
789b76f7b4
commit
699dc50b3f
8 changed files with 70 additions and 23 deletions
|
@ -1578,13 +1578,11 @@ bool DistributedChatService::setDefaultIdentityForChatLobby(const RsGxsId& nick)
|
|||
triggerConfigSave() ;
|
||||
return true ;
|
||||
}
|
||||
bool DistributedChatService::getDefaultIdentityForChatLobby(RsGxsId& nick)
|
||||
void DistributedChatService::getDefaultIdentityForChatLobby(RsGxsId& nick)
|
||||
{
|
||||
RsStackMutex stack(mDistributedChatMtx); /********** STACK LOCKED MTX ******/
|
||||
|
||||
nick = locked_getDefaultIdentity() ;
|
||||
|
||||
return true ;
|
||||
}
|
||||
|
||||
RsGxsId DistributedChatService::locked_getDefaultIdentity()
|
||||
|
|
|
@ -71,7 +71,7 @@ class DistributedChatService
|
|||
bool setIdentityForChatLobby(const ChatLobbyId& lobby_id,const RsGxsId& nick) ;
|
||||
bool getIdentityForChatLobby(const ChatLobbyId& lobby_id,RsGxsId& nick) ;
|
||||
bool setDefaultIdentityForChatLobby(const RsGxsId& nick) ;
|
||||
bool getDefaultIdentityForChatLobby(RsGxsId& nick) ;
|
||||
void getDefaultIdentityForChatLobby(RsGxsId& nick) ;
|
||||
void setLobbyAutoSubscribe(const ChatLobbyId& lobby_id, const bool autoSubscribe);
|
||||
bool getLobbyAutoSubscribe(const ChatLobbyId& lobby_id);
|
||||
void sendLobbyStatusString(const ChatLobbyId& id,const std::string& status_string) ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue