summaryrefslogtreecommitdiff
path: root/src/state.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/state.cpp
parentf097f6473095fa04ff52ac7ee33a8dc435144a6f (diff)
Accept extended identity from device attachment
Diffstat (limited to 'src/state.cpp')
-rw-r--r--src/state.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/state.cpp b/src/state.cpp
index 8e5dcad..40d4eec 100644
--- a/src/state.cpp
+++ b/src/state.cpp
@@ -25,9 +25,9 @@ LocalState::LocalState(const Ref & ref):
p->shared.tip = rec->items("shared").as<SharedData>();
if (p->identity) {
- vector<Stored<Signed<IdentityData>>> updates;
+ vector<StoredIdentityPart> updates;
for (const auto & r : lookupShared(SharedType<optional<Identity>>::id))
- updates.push_back(Stored<Signed<IdentityData>>::load(r));
+ updates.push_back(StoredIdentityPart::load(r));
if (!updates.empty())
p->identity = p->identity->update(updates);
}