mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 17:41:12 +02:00
CR feedback
This commit is contained in:
parent
2460e89a57
commit
9b1aaf3bfe
2 changed files with 2 additions and 2 deletions
|
@ -260,8 +260,7 @@ void AvatarManager::handleRemovedAvatar(const AvatarSharedPointer& removedAvatar
|
||||||
}
|
}
|
||||||
if (removalReason == KillAvatarReason::TheirAvatarEnteredYourBubble || removalReason == YourAvatarEnteredTheirBubble) {
|
if (removalReason == KillAvatarReason::TheirAvatarEnteredYourBubble || removalReason == YourAvatarEnteredTheirBubble) {
|
||||||
DependencyManager::get<NodeList>()->radiusIgnoreNodeBySessionID(avatar->getSessionUUID(), true);
|
DependencyManager::get<NodeList>()->radiusIgnoreNodeBySessionID(avatar->getSessionUUID(), true);
|
||||||
}
|
} else if (removalReason == KillAvatarReason::AvatarDisconnected) {
|
||||||
if (removalReason == KillAvatarReason::AvatarDisconnected) {
|
|
||||||
// remove from node sets, if present
|
// remove from node sets, if present
|
||||||
DependencyManager::get<NodeList>()->removeFromIgnoreMuteSets(avatar->getSessionUUID());
|
DependencyManager::get<NodeList>()->removeFromIgnoreMuteSets(avatar->getSessionUUID());
|
||||||
DependencyManager::get<UsersScriptingInterface>()->avatarDisconnected(avatar->getSessionUUID());
|
DependencyManager::get<UsersScriptingInterface>()->avatarDisconnected(avatar->getSessionUUID());
|
||||||
|
|
|
@ -142,6 +142,7 @@ signals:
|
||||||
/**jsdoc
|
/**jsdoc
|
||||||
* Notifies scripts that a user has disconnected from the domain
|
* Notifies scripts that a user has disconnected from the domain
|
||||||
* @function Users.avatar.avatarDisconnected
|
* @function Users.avatar.avatarDisconnected
|
||||||
|
* @param {nodeID} NodeID The session ID of the avatar that has disconnected
|
||||||
*/
|
*/
|
||||||
void avatarDisconnected(const QUuid& nodeID);
|
void avatarDisconnected(const QUuid& nodeID);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue