summaryrefslogtreecommitdiff
path: root/src/identity.cpp
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2023-12-02 12:55:46 +0100
committerRoman Smrž <roman.smrz@seznam.cz>2023-12-02 13:15:58 +0100
commit40230a02c0630be311fb27aa68cd5e441801e67d (patch)
treeecebdb9c04c127e6f82e5dda9d41ce535ec0923a /src/identity.cpp
parentf097f6473095fa04ff52ac7ee33a8dc435144a6f (diff)
Accept extended identity from device attachment
Diffstat (limited to 'src/identity.cpp')
-rw-r--r--src/identity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/identity.cpp b/src/identity.cpp
index f2912c5..ae20b3b 100644
--- a/src/identity.cpp
+++ b/src/identity.cpp
@@ -145,7 +145,7 @@ bool Identity::operator!=(const Identity & other) const
optional<Ref> Identity::ref() const
{
if (p->data.size() == 1)
- return p->data[0].ref();
+ return p->data[0].base().ref();
return nullopt;
}