mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
ignore anonymous screenshare zone entry
This commit is contained in:
parent
0a12dc7446
commit
323007eb2c
1 changed files with 3 additions and 0 deletions
|
@ -3630,6 +3630,9 @@ void DomainServer::processAvatarZonePresencePacket(QSharedPointer<ReceivedMessag
|
|||
return;
|
||||
}
|
||||
QString verifiedUsername = matchingNode->getPermissions().getVerifiedUserName();
|
||||
if (verifiedUsername.isEmpty()) { // Silently bail for users who are not logged in.
|
||||
return;
|
||||
}
|
||||
static const int SCREENSHARE_EXPIRATION_SECONDS = 24 * 60 * 60;
|
||||
screensharePresence(zone.isNull() ? "" : zone.toString(), verifiedUsername, SCREENSHARE_EXPIRATION_SECONDS);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue