mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-28 00:49:28 -05:00
Merge pull request #227 from PhenomRetroShare/Fix_DefaultGxsId
Fix default Identity on Chat
This commit is contained in:
commit
f8be606e7d
@ -1898,7 +1898,6 @@ void DistributedChatService::addToSaveList(std::list<RsItem*>& list) const
|
|||||||
bool DistributedChatService::processLoadListItem(const RsItem *item)
|
bool DistributedChatService::processLoadListItem(const RsItem *item)
|
||||||
{
|
{
|
||||||
const RsConfigKeyValueSet *vitem = NULL ;
|
const RsConfigKeyValueSet *vitem = NULL ;
|
||||||
_default_identity.clear() ;
|
|
||||||
|
|
||||||
if(NULL != (vitem = dynamic_cast<const RsConfigKeyValueSet*>(item)))
|
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)
|
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