mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
fix a couple of mistakes made during code-review response
This commit is contained in:
parent
bc2ded2f97
commit
a2d35df34e
1 changed files with 2 additions and 1 deletions
|
@ -315,6 +315,7 @@ SharedNodePointer DomainGatekeeper::processAgentConnectRequest(const NodeConnect
|
|||
sendConnectionTokenPacket(username, nodeConnection.senderSockAddr);
|
||||
// ask for their public key right now to make sure we have it
|
||||
requestUserPublicKey(username);
|
||||
getGroupMemberships(username); // optimistically get started on group memberships
|
||||
return SharedNodePointer();
|
||||
}
|
||||
|
||||
|
@ -847,7 +848,7 @@ void DomainGatekeeper::refreshGroupsCache() {
|
|||
if (!node->getPermissions().isAssignment) {
|
||||
// this node is an agent
|
||||
const QString& verifiedUserName = node->getPermissions().getVerifiedUserName();
|
||||
if (verifiedUserName.isEmpty()) {
|
||||
if (!verifiedUserName.isEmpty()) {
|
||||
getGroupMemberships(verifiedUserName);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue