added identity creation time in IdDetails

This commit is contained in:
csoler 2019-01-19 15:54:07 +01:00
parent d143f761cf
commit 9017db4797
No known key found for this signature in database
GPG key ID: 7BCA522266C0804C
4 changed files with 118 additions and 100 deletions

View file

@ -703,6 +703,7 @@ bool p3IdService::getIdDetails(const RsGxsId &id, RsIdentityDetails &details)
details.mLastUsageTS = it->second.TS ;
details.mUseCases = it->second.usage_map ;
}
details.mPublishTS = data.mPublishTs;
// one utf8 symbol can be at most 4 bytes long - would be better to measure real unicode length !!!
if(details.mNickname.length() > RSID_MAXIMUM_NICKNAME_SIZE*4)