From 894328b6c16fe40e4aa1f2bdddde3265e7dbd1c1 Mon Sep 17 00:00:00 2001 From: Phenom Date: Wed, 30 Dec 2015 15:43:47 +0100 Subject: [PATCH] Fix default Identity on Chat This was reseted by a new listitem after it was restored. --- libretroshare/src/chat/distributedchat.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/libretroshare/src/chat/distributedchat.cc b/libretroshare/src/chat/distributedchat.cc index 5d1ddfff0..bced27d30 100644 --- a/libretroshare/src/chat/distributedchat.cc +++ b/libretroshare/src/chat/distributedchat.cc @@ -1898,7 +1898,6 @@ void DistributedChatService::addToSaveList(std::list& list) const bool DistributedChatService::processLoadListItem(const RsItem *item) { const RsConfigKeyValueSet *vitem = NULL ; - _default_identity.clear() ; if(NULL != (vitem = dynamic_cast(item))) for(std::list::const_iterator kit = vitem->tlvkvs.pairs.begin(); kit != vitem->tlvkvs.pairs.end(); ++kit)