mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-03 05:44:45 -05:00
fixed update of avatar/name in signed identities
This commit is contained in:
parent
217aa119ff
commit
e73e3232f6
4 changed files with 104 additions and 33 deletions
|
|
@ -420,10 +420,14 @@ public:
|
|||
/**
|
||||
* @brief Update identity data (name, avatar...)
|
||||
* @jsonapi{development}
|
||||
* @param[in] identityData updated identiy data
|
||||
* @return false on error, true otherwise
|
||||
* @param[in] id Id of the identity
|
||||
* @param[in] name New name of the identity
|
||||
* @param[in] avatar New avatar for the identity
|
||||
* @param[in] pseudonimous Set to true to make the identity anonymous. If set to false, updating will require the profile passphrase.
|
||||
* @param[in] pgpPassword Profile passphrase, if non pseudonymous.
|
||||
* @return false on error, true otherwise
|
||||
*/
|
||||
virtual bool updateIdentity(RsGxsIdGroup& identityData) = 0;
|
||||
virtual bool updateIdentity( const RsGxsId& id, const std::string& name, const RsGxsImage& avatar, bool pseudonimous, const std::string& pgpPassword) =0;
|
||||
|
||||
/**
|
||||
* @brief Get identity details, from the cache
|
||||
|
|
@ -637,9 +641,6 @@ public:
|
|||
virtual bool submitOpinion(uint32_t& token, const RsGxsId &id,
|
||||
bool absOpinion, int score) = 0;
|
||||
|
||||
RS_DEPRECATED
|
||||
virtual bool updateIdentity(uint32_t& token, RsGxsIdGroup &group) = 0;
|
||||
|
||||
RS_DEPRECATED
|
||||
virtual bool deleteIdentity(uint32_t& token, RsGxsIdGroup &group) = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue