Skip to content
Snippets Groups Projects
Commit 93bed782 authored by Stepan Salenikovich's avatar Stepan Salenikovich
Browse files

trustrequest: update payload

If we receive a trust request which we received before, update the
payload, in case it has changed.

Change-Id: I00ed4f53ac5343b9212df95868ea517e8407ff42
Tuleap: #753
parent 82ebcf8f
Branches
Tags
Loading
......@@ -930,6 +930,7 @@ RingAccount::doRegister_()
for (;req != this_.trustRequests_.end(); ++req)
if (req->from == v.from) {
req->received = std::chrono::system_clock::now();
req->payload = v.payload;
break;
}
if (req == this_.trustRequests_.end()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment