summaryrefslogtreecommitdiff
path: root/include/erebos
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2023-01-08 22:31:08 +0100
committerRoman Smrž <roman.smrz@seznam.cz>2023-01-31 21:27:00 +0100
commitc2df0381313ffe5e155b7dc3d6d4c7271a4b73a2 (patch)
tree0f9385be3a08e45045291ed52b692a3579db394d /include/erebos
parented40a224e4256867d5f8c9f7c4c3ea998d4b88ce (diff)
Contact name setting and property lookup
Diffstat (limited to 'include/erebos')
-rw-r--r--include/erebos/contact.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/erebos/contact.h b/include/erebos/contact.h
index ef9c3b6..24a4c89 100644
--- a/include/erebos/contact.h
+++ b/include/erebos/contact.h
@@ -32,12 +32,14 @@ public:
optional<Identity> identity() const;
optional<string> customName() const;
+ Contact customName(const Storage & st, const string & name) const;
string name() const;
bool operator==(const Contact &) const;
bool operator!=(const Contact &) const;
vector<Stored<ContactData>> data() const;
+ Digest leastRoot() const;
private:
struct Priv;