mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 07:57:30 +02:00
Merge branch 'master' of https://github.com/highfidelity/hifi
This commit is contained in:
commit
cda9bce293
1 changed files with 1 additions and 9 deletions
|
@ -25,13 +25,13 @@
|
||||||
|
|
||||||
#include <AccountManager.h>
|
#include <AccountManager.h>
|
||||||
#include <Assignment.h>
|
#include <Assignment.h>
|
||||||
|
#include <AvatarData.h>
|
||||||
#include <HifiConfigVariantMap.h>
|
#include <HifiConfigVariantMap.h>
|
||||||
#include <HTTPConnection.h>
|
#include <HTTPConnection.h>
|
||||||
#include <NLPacketList.h>
|
#include <NLPacketList.h>
|
||||||
#include <NumericalConstants.h>
|
#include <NumericalConstants.h>
|
||||||
#include <SettingHandle.h>
|
#include <SettingHandle.h>
|
||||||
#include <SettingHelpers.h>
|
#include <SettingHelpers.h>
|
||||||
#include <AvatarData.h> //for KillAvatarReason
|
|
||||||
#include <FingerprintUtils.h>
|
#include <FingerprintUtils.h>
|
||||||
|
|
||||||
#include "DomainServerNodeData.h"
|
#include "DomainServerNodeData.h"
|
||||||
|
@ -870,14 +870,6 @@ void DomainServerSettingsManager::processNodeKickRequestPacket(QSharedPointer<Re
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// if we are here, then we kicked them, so send the KillAvatar message
|
|
||||||
auto packet = NLPacket::create(PacketType::KillAvatar, NUM_BYTES_RFC4122_UUID + sizeof(KillAvatarReason), true);
|
|
||||||
packet->write(nodeUUID.toRfc4122());
|
|
||||||
packet->writePrimitive(KillAvatarReason::NoReason);
|
|
||||||
|
|
||||||
// send to avatar mixer, it sends the kill to everyone else
|
|
||||||
limitedNodeList->broadcastToNodes(std::move(packet), NodeSet() << NodeType::AvatarMixer);
|
|
||||||
|
|
||||||
if (newPermissions) {
|
if (newPermissions) {
|
||||||
qDebug() << "Removing connect permission for node" << uuidStringWithoutCurlyBraces(matchingNode->getUUID())
|
qDebug() << "Removing connect permission for node" << uuidStringWithoutCurlyBraces(matchingNode->getUUID())
|
||||||
<< "after kick request from" << uuidStringWithoutCurlyBraces(sendingNode->getUUID());
|
<< "after kick request from" << uuidStringWithoutCurlyBraces(sendingNode->getUUID());
|
||||||
|
|
Loading…
Reference in a new issue