allow Dist msgs for friends with all locations lost

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6839 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2013-10-16 20:53:38 +00:00
parent 7ba1827b4c
commit be2c8807c3

View File

@ -1632,7 +1632,7 @@ void MessageComposer::addRecipient(enumType type, const std::string &id, bool gr
if (detail.isOnlyGPGdetail) if (detail.isOnlyGPGdetail)
{ {
if(!rsPeers->getAssociatedSSLIds(id, sslIds)) if( (!rsPeers->getAssociatedSSLIds(id, sslIds)) || sslIds.empty())
{ {
std::string hash ; std::string hash ;
if(rsMsgs->getDistantMessageHash(id,hash)) if(rsMsgs->getDistantMessageHash(id,hash))