Showing the changes to libraries/script-engine/src/UsersScriptingInterface.cpp (1 of 6 files). Show all
Unified · Split
| @@ -34,10 +34,10 @@ void UsersScriptingInterface::unignore(const QUuid& nodeID) { · 33 unmodified lines | ||
| 34 | 34 | DependencyManager::get<NodeList>()->unignoreNodeBySessionID(nodeID); |
| 35 | 35 | } |
| 36 | 36 | |
| 37 | −void UsersScriptingInterface::personalMute(const QUuid& nodeID, bool enabled) { | |
| 37 | +void UsersScriptingInterface::personalMute(const QUuid& nodeID, bool muteEnabled) { | |
| 38 | 38 | // ask the NodeList to mute the user with the given session ID |
| 39 | 39 | // "Personal Mute" only applies one way and is not global |
| 40 | − DependencyManager::get<NodeList>()->personalMuteNodeBySessionID(nodeID, enabled); | |
| 40 | + DependencyManager::get<NodeList>()->personalMuteNodeBySessionID(nodeID, muteEnabled); | |
| 41 | 41 | } |
| 42 | 42 | |
| 43 | 43 | void UsersScriptingInterface::requestPersonalMuteStatus(const QUuid& nodeID) { |
| @@ -45,7 +45,6 @@ void UsersScriptingInterface::requestPersonalMuteStatus(const QUuid& nodeID) { · 1 unmodified line | ||
| 45 | 45 | DependencyManager::get<NodeList>()->requestPersonalMuteStatus(nodeID); |
| 46 | 46 | } |
| 47 | 47 | |
| 48 | − | |
| 49 | 48 | void UsersScriptingInterface::kick(const QUuid& nodeID) { |
| 50 | 49 | // ask the NodeList to kick the user with the given session ID |
| 51 | 50 | DependencyManager::get<NodeList>()->kickNodeBySessionID(nodeID); |