COM-57 removed identity's me member COM-57
authorEdouard Tisserant <edouard@pep-project.org>
Wed, 09 Aug 2017 17:05:14 +0200
branchCOM-57
changeset 258794f2468ccec
parent 257 9300cce7cf7b
child 259 0cf925ec76a3
child 260 07e9a01ce3a8
COM-57 removed identity's me member
pEp_utility.cpp
pEp_utility.h
     1.1 --- a/pEp_utility.cpp	Tue Aug 08 14:46:40 2017 +0200
     1.2 +++ b/pEp_utility.cpp	Wed Aug 09 17:05:14 2017 +0200
     1.3 @@ -6,7 +6,6 @@
     1.4  namespace pEp {
     1.5      namespace utility {
     1.6          pEp_identity_cpp::pEp_identity_cpp(const ::pEp_identity *_ident)
     1.7 -            : me(false)
     1.8          {
     1.9  			if (!_ident)
    1.10  				return;
    1.11 @@ -25,7 +24,6 @@
    1.12          }
    1.13  
    1.14          pEp_identity_cpp::pEp_identity_cpp(const pEpIdentity *_ident)
    1.15 -            : me(false)
    1.16          {
    1.17  			if (!_ident)
    1.18  				return;
    1.19 @@ -52,7 +50,6 @@
    1.20                  throw bad_alloc();
    1.21  
    1.22              _ident->comm_type = (::PEP_comm_type) this->comm_type;
    1.23 -            _ident->me = this->me;
    1.24  
    1.25              assert(this->lang.size() == 0 || this->lang.size() == 2);
    1.26  
     2.1 --- a/pEp_utility.h	Tue Aug 08 14:46:40 2017 +0200
     2.2 +++ b/pEp_utility.h	Wed Aug 09 17:05:14 2017 +0200
     2.3 @@ -16,7 +16,6 @@
     2.4              string username;
     2.5              pEpComType comm_type;
     2.6              string lang;
     2.7 -            bool me;
     2.8  			int flags;
     2.9  
    2.10              pEp_identity_cpp(
    2.11 @@ -26,7 +25,7 @@
    2.12                  string _username = string(),
    2.13                  pEpComType _comm_type = pEpCtUnknown,
    2.14                  string _lang = string()
    2.15 -                ) : address(_address), fpr(_fpr), user_id(_user_id), username(_username), comm_type(_comm_type), lang(_lang), me(false)
    2.16 +                ) : address(_address), fpr(_fpr), user_id(_user_id), username(_username), comm_type(_comm_type), lang(_lang)
    2.17              { }
    2.18  
    2.19              pEp_identity_cpp(const ::pEp_identity *_ident);