added button (enabled by default) to automatically add IDs signed by friends as contacts

This commit is contained in:
csoler 2018-12-24 10:13:27 +01:00
parent ac146c6808
commit 3770810238
No known key found for this signature in database
GPG key ID: 7BCA522266C0804C
6 changed files with 60 additions and 10 deletions

View file

@ -378,6 +378,8 @@ struct RsIdentity : RsGxsIfaceHelper
virtual bool setAsRegularContact(const RsGxsId& id,bool is_a_contact) = 0 ;
virtual bool isARegularContact(const RsGxsId& id) = 0 ;
virtual uint32_t nbRegularContacts() =0;
virtual void setAutoAddFriendIdsAsContact(bool b) =0;
virtual bool autoAddFriendIdsAsContact() =0;
virtual bool serialiseIdentityToMemory( const RsGxsId& id,
std::string& radix_string ) = 0;