Changed the message service to save the receiver of the pending outgoing messages too.

The saved peer id's are now removed, when the message is removed.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3776 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2010-11-10 20:37:02 +00:00
parent e5ce0c5877
commit 50024e3f5e
2 changed files with 53 additions and 22 deletions

View file

@ -136,7 +136,7 @@ void initStandardTagTypes();
uint32_t mMsgUniqueId;
// used delete msgSrcIds after config save
std::list<RsMsgSrcId*> mSrcIdList;
std::map<uint32_t, RsMsgSrcId*> mSrcIds;
// save the parent of the messages in draft for replied and forwarded
std::map<uint32_t, RsMsgParentId*> mParentId;