mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 18:53:36 +02:00
never process null avatar ID in avatar manager
This commit is contained in:
parent
6cf4ff1daf
commit
8f154321a4
1 changed files with 5 additions and 0 deletions
|
@ -130,6 +130,11 @@ void AvatarHashMap::processAvatarIdentityPacket(QSharedPointer<ReceivedMessage>
|
|||
// peek the avatar UUID from the incoming packet
|
||||
QUuid identityUUID = QUuid::fromRfc4122(message->peek(NUM_BYTES_RFC4122_UUID));
|
||||
|
||||
if (identityUUID.isNull()) {
|
||||
qCDebug(avatars) << "Refusing to process identity packet for null avatar ID";
|
||||
return;
|
||||
}
|
||||
|
||||
// make sure this isn't for an ignored avatar
|
||||
auto nodeList = DependencyManager::get<NodeList>();
|
||||
static auto EMPTY = QUuid();
|
||||
|
|
Loading…
Reference in a new issue