mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 06:35:08 -04:00
update, during the GUI for invitation changes
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1084 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
f36e0ba3ae
commit
efd9a2f056
3 changed files with 29 additions and 22 deletions
|
@ -543,7 +543,8 @@ bool p3Peers::setNetworkMode(std::string id, uint32_t extNetMode)
|
|||
}
|
||||
|
||||
|
||||
bool p3Peers::setVisState(std::string id, uint32_t extVisState)
|
||||
bool
|
||||
p3Peers::setVisState(std::string id, uint32_t extVisState)
|
||||
{
|
||||
#ifdef P3PEERS_DEBUG
|
||||
std::cerr << "p3Peers::setVisState() " << id;
|
||||
|
@ -559,8 +560,10 @@ bool p3Peers::setVisState(std::string id, uint32_t extVisState)
|
|||
return mConnMgr->setVisState(id, visState);
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
/* Auth Stuff */
|
||||
std::string p3Peers::GetRetroshareInvite()
|
||||
std::string
|
||||
p3Peers::GetRetroshareInvite()
|
||||
{
|
||||
#ifdef P3PEERS_DEBUG
|
||||
std::cerr << "p3Peers::GetRetroshareInvite()";
|
||||
|
@ -584,32 +587,14 @@ std::string p3Peers::GetRetroshareInvite()
|
|||
std::string name = mAuthMgr->getName(ownId);
|
||||
|
||||
std::ostringstream out;
|
||||
out << "You have been invited to join the retroshare";
|
||||
out << " community by: " << name;
|
||||
out << std::endl;
|
||||
out << std::endl;
|
||||
out << "Retroshare is a Friend-2-Friend network that enables you to";
|
||||
out << " communicate securely and";
|
||||
out << std::endl;
|
||||
out << "privately with your friends. ";
|
||||
out << "You can use it for chat, messages, ";
|
||||
out << "channels, and file-sharing. ";
|
||||
out << std::endl;
|
||||
out << std::endl;
|
||||
out << "Download it from: ";
|
||||
out << "http://retroshare.sf.net";
|
||||
out << std::endl;
|
||||
out << std::endl;
|
||||
out << "Thanks, ";
|
||||
out << " " << name << ", DrBob and the RetroShare Team!";
|
||||
out << std::endl;
|
||||
out << std::endl;
|
||||
out << certstr;
|
||||
out << std::endl;
|
||||
|
||||
return out.str();
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
|
||||
bool p3Peers::LoadCertificateFromFile(std::string fname, std::string &id)
|
||||
{
|
||||
#ifdef P3PEERS_DEBUG
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue