fixed possible crash due to not checkitn rsIdentity

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7997 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2015-03-08 11:51:44 +00:00
parent 6aaf559b3a
commit 2664cf2f9a

View File

@ -1845,7 +1845,7 @@ bool DistributedChatService::processLoadListItem(const RsItem *item)
return true ;
}
if(_default_identity.isNull())
if(_default_identity.isNull() && rsIdentity!=NULL)
{
std::list<RsGxsId> own_ids ;
rsIdentity->getOwnIds(own_ids) ;