added gpg initialization for autologin

- your friends are not authenticated if not

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2692 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
chrisparker126 2010-04-08 15:51:10 +00:00
parent 1485ccbe87
commit c30e0c071e

View File

@ -116,6 +116,16 @@ int main(int argc, char *argv[])
} }
else else
{ {
std::string preferredId, gpgId, gpgName, gpgEmail, sslName;
RsInit::getPreferedAccountId(preferredId);
if (RsInit::getAccountDetails(preferredId,
gpgId, gpgName, gpgEmail, sslName))
{
RsInit::SelectGPGAccount(gpgId);
}
// true: note auto-login is active // true: note auto-login is active
RsInit::LoadCertificates(true); RsInit::LoadCertificates(true);
} }