mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Fix default Identity on Chat
This was reseted by a new listitem after it was restored.
This commit is contained in:
parent
682930938b
commit
894328b6c1
@ -1898,7 +1898,6 @@ void DistributedChatService::addToSaveList(std::list<RsItem*>& list) const
|
||||
bool DistributedChatService::processLoadListItem(const RsItem *item)
|
||||
{
|
||||
const RsConfigKeyValueSet *vitem = NULL ;
|
||||
_default_identity.clear() ;
|
||||
|
||||
if(NULL != (vitem = dynamic_cast<const RsConfigKeyValueSet*>(item)))
|
||||
for(std::list<RsTlvKeyValue>::const_iterator kit = vitem->tlvkvs.pairs.begin(); kit != vitem->tlvkvs.pairs.end(); ++kit)
|
||||
|
Loading…
Reference in New Issue
Block a user