Skip to content
Snippets Groups Projects
Commit 72b450e3 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

account_manager: fix used hash for sendTrustRequestConfirm

This fix ut_compability and a regression from
95280b19

Change-Id: I4a41e3c383fd8c8d31e844d2cd58fa82ef04fd00
GitLab: #579
parent 9176236c
No related branches found
No related tags found
No related merge requests found
......@@ -704,7 +704,7 @@ AccountManager::sendTrustRequestConfirm(const dht::InfoHash& toH, const std::str
JAMI_WARN("sending trust request reply: %s / %s",
toH.toString().c_str(),
dev->getLongId().toString().c_str());
dht_->putEncrypted(dht::InfoHash::get("inbox:" + info_->devicePk->getId().toString()),
dht_->putEncrypted(dht::InfoHash::get("inbox:" + dev->getId().toString()),
dev,
answer);
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment