History

It seems to be working, minus removing from list

Zach Fox committed 9 years ago

Commit e26d3471 parent 46e8bf56 files · +28 −14Browse files

Showing the changes to libraries/script-engine/src/UsersScriptingInterface.cpp (1 of 6 files). Show all

Unified · Split

libraries/script-engine/src/UsersScriptingInterface.cpp+2−3
@@ -34,10 +34,10 @@ void UsersScriptingInterface::unignore(const QUuid& nodeID) { · 33 unmodified lines
3434 DependencyManager::get<NodeList>()->unignoreNodeBySessionID(nodeID);
3535 }
3636
37−void UsersScriptingInterface::personalMute(const QUuid& nodeID, bool enabled) {
37+void UsersScriptingInterface::personalMute(const QUuid& nodeID, bool muteEnabled) {
3838 // ask the NodeList to mute the user with the given session ID
3939 // "Personal Mute" only applies one way and is not global
40− DependencyManager::get<NodeList>()->personalMuteNodeBySessionID(nodeID, enabled);
40+ DependencyManager::get<NodeList>()->personalMuteNodeBySessionID(nodeID, muteEnabled);
4141 }
4242
4343 void UsersScriptingInterface::requestPersonalMuteStatus(const QUuid& nodeID) {
@@ -45,7 +45,6 @@ void UsersScriptingInterface::requestPersonalMuteStatus(const QUuid& nodeID) { · 1 unmodified line
4545 DependencyManager::get<NodeList>()->requestPersonalMuteStatus(nodeID);
4646 }
4747
48−
4948 void UsersScriptingInterface::kick(const QUuid& nodeID) {
5049 // ask the NodeList to kick the user with the given session ID
5150 DependencyManager::get<NodeList>()->kickNodeBySessionID(nodeID);