diff --git a/src/identity.cc b/src/identity.cc index 790b53d..5f36b52 100644 --- a/src/identity.cc +++ b/src/identity.cc @@ -11,8 +11,8 @@ namespace pEp { namespace PythonAdapter { using namespace std; - Identity::Identity(string address, string fpr, string user_id, string - username, int comm_type, string lang) + Identity::Identity(string address, string username, string user_id, + string fpr, int comm_type, string lang) : _ident(new_identity(address.c_str(), fpr.c_str(), user_id.c_str(), username.c_str()), &::free_identity) { diff --git a/src/identity.hh b/src/identity.hh index 4ba60cd..00aecec 100644 --- a/src/identity.hh +++ b/src/identity.hh @@ -17,8 +17,9 @@ namespace pEp { shared_ptr< pEp_identity > _ident; public: - Identity(string address = "", string fpr = "", string user_id = "", - string username = "", int comm_type = 0, string lang = ""); + Identity(string address = "", string username = "", + string user_id = "", string fpr = "", int comm_type = 0, + string lang = ""); Identity(const Identity& second); Identity(pEp_identity *ident);