Showing the changes to libraries/script-engine/src/UsersScriptingInterface.cpp (1 of 7 files). Show all
Unified · Split
| @@ -29,9 +29,9 @@ void UsersScriptingInterface::ignore(const QUuid& nodeID, bool ignoreEnabled) { · 28 unmodified lines | ||
| 29 | 29 | DependencyManager::get<NodeList>()->ignoreNodeBySessionID(nodeID, ignoreEnabled); |
| 30 | 30 | } |
| 31 | 31 | |
| 32 | −void UsersScriptingInterface::requestIgnoreStatus(const QUuid& nodeID) { | |
| 33 | − // ask the Audio Mixer via the NodeList for the Personal Mute status associated with the given session ID | |
| 34 | − DependencyManager::get<NodeList>()->isIgnoringNode(nodeID); | |
| 32 | +bool UsersScriptingInterface::getIgnoreStatus(const QUuid& nodeID) { | |
| 33 | + // ask the NodeList for the Ignore status associated with the given session ID | |
| 34 | + return DependencyManager::get<NodeList>()->isIgnoringNode(nodeID); | |
| 35 | 35 | } |
| 36 | 36 | |
| 37 | 37 | void UsersScriptingInterface::personalMute(const QUuid& nodeID, bool muteEnabled) { |