Fix default Identity on Chat

This was reseted by a new listitem after it was restored.
This commit is contained in:
Phenom 2015-12-30 15:43:47 +01:00
parent 682930938b
commit 894328b6c1

View File

@ -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)