extracted clientId from clientInfo to use it in the presence information later
This commit is contained in:
parent
8ec0af3205
commit
76a9c5da0c
6 changed files with 137 additions and 38 deletions
|
@ -42,9 +42,9 @@ bool Core::ClientCache::checkClient(const QString& node, const QString& ver, con
|
|||
QString id = node + "/" + ver;
|
||||
if (requested.count(id) == 0 && !cache->checkRecord(id)) {
|
||||
Shared::ClientInfo& info = requested.insert(std::make_pair(id, Shared::ClientInfo())).first->second;
|
||||
info.node = node;
|
||||
info.verification = ver;
|
||||
info.hash = hash;
|
||||
info.id.node = node;
|
||||
info.id.verification = ver;
|
||||
info.id.hash = hash;
|
||||
emit requestClientInfo(id);
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue