fixed cleaning of attachment

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-GenericTunneling@6357 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2013-05-04 22:15:05 +00:00
parent ec7f992834
commit cc6555b93f

View File

@ -1656,6 +1656,7 @@ bool p3MsgService::encryptMessage(const std::string& pgp_id,RsMsgItem *item)
item->msgbcc.ids.clear() ; item->msgbcc.ids.clear() ;
item->msgto.ids.clear() ; item->msgto.ids.clear() ;
item->msgFlags |= RS_MSG_FLAGS_ENCRYPTED ; item->msgFlags |= RS_MSG_FLAGS_ENCRYPTED ;
item->attachment.TlvClear() ;
return true ; return true ;
} }