summaryrefslogtreecommitdiff
path: root/src/contact.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/contact.h')
-rw-r--r--src/contact.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/contact.h b/src/contact.h
index 31deceb..6fc0219 100644
--- a/src/contact.h
+++ b/src/contact.h
@@ -19,24 +19,12 @@ struct IdentityData;
struct Contact::Priv
{
vector<Stored<ContactData>> data;
- Identity identity;
void init();
std::once_flag initFlag {};
+ optional<Identity> identity {};
optional<string> name {};
-
- static List<Contact> loadList(vector<Stored<ContactData>> &&, vector<Identity> &&);
-};
-
-struct ContactData
-{
- static ContactData load(const Ref &);
- Ref store(const Storage &) const;
-
- vector<Stored<ContactData>> prev;
- vector<Stored<Signed<IdentityData>>> identity;
- optional<string> name;
};
}