summaryrefslogtreecommitdiff
path: root/src/network/protocol.cpp
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2023-12-15 22:13:36 +0100
committerRoman Smrž <roman.smrz@seznam.cz>2023-12-16 21:12:13 +0100
commit0bcef826baaa6a335d8fddafdbebd00fbf421c2c (patch)
tree37abb37f8b811923e25180abeac3307d15f0b9ca /src/network/protocol.cpp
parente4b5eb30af94991e19ac324d5e6ec616e6a71d36 (diff)
Use extended identity data for name
Diffstat (limited to 'src/network/protocol.cpp')
-rw-r--r--src/network/protocol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/protocol.cpp b/src/network/protocol.cpp
index 02c3dae..b781693 100644
--- a/src/network/protocol.cpp
+++ b/src/network/protocol.cpp
@@ -150,7 +150,7 @@ void NetworkProtocol::updateIdentity(Identity id)
self = move(id);
vector<Header::Item> hitems;
- for (const auto & r : self->refs())
+ for (const auto & r : self->extRefs())
hitems.push_back(Header::AnnounceUpdate { r.digest() });
for (const auto & r : self->updates())
hitems.push_back(Header::AnnounceUpdate { r.digest() });