mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-20 11:58:44 -04:00
sendMail check if recipients are known
This commit is contained in:
parent
d673ef3256
commit
ae0412c087
6 changed files with 45 additions and 10 deletions
|
@ -338,7 +338,7 @@ struct RsIdentityDetails : RsSerializable
|
|||
RS_SERIAL_PROCESS(mNickname);
|
||||
RS_SERIAL_PROCESS(mFlags);
|
||||
RS_SERIAL_PROCESS(mPgpId);
|
||||
//RS_SERIAL_PROCESS(mReputation);
|
||||
RS_SERIAL_PROCESS(mReputation);
|
||||
RS_SERIAL_PROCESS(mAvatar);
|
||||
RS_SERIAL_PROCESS(mPublishTS);
|
||||
RS_SERIAL_PROCESS(mLastUsageTS);
|
||||
|
@ -352,7 +352,6 @@ struct RsIdentityDetails : RsSerializable
|
|||
struct RsIdentity : RsGxsIfaceHelper
|
||||
{
|
||||
explicit RsIdentity(RsGxsIface& gxs) : RsGxsIfaceHelper(gxs) {}
|
||||
virtual ~RsIdentity() {}
|
||||
|
||||
/**
|
||||
* @brief Create a new identity
|
||||
|
@ -419,6 +418,14 @@ struct RsIdentity : RsGxsIfaceHelper
|
|||
*/
|
||||
virtual bool getOwnPseudonimousIds(std::vector<RsGxsId>& ids) = 0;
|
||||
|
||||
/**
|
||||
* @brief Check if an id is known
|
||||
* @jsonapi{development}
|
||||
* @param[in] id Id to check
|
||||
* @return true if the id is known, false otherwise
|
||||
*/
|
||||
virtual bool isKnownId(const RsGxsId& id) = 0;
|
||||
|
||||
/**
|
||||
* @brief Check if an id is own
|
||||
* @jsonapi{development}
|
||||
|
@ -568,4 +575,6 @@ struct RsIdentity : RsGxsIfaceHelper
|
|||
RS_DEPRECATED_FOR("getIdentitiesSummaries getIdentitiesInfo")
|
||||
virtual bool getGroupData( const uint32_t& token,
|
||||
std::vector<RsGxsIdGroup>& groups) = 0;
|
||||
|
||||
virtual ~RsIdentity();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue