History

Getting very close.

Zach Fox committed 9 years ago

Commit bb2b48d1 parent af1c67a7 files · +10 −47Browse files

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

Unified · Split

libraries/script-engine/src/UsersScriptingInterface.cpp+3−3
@@ -29,9 +29,9 @@ void UsersScriptingInterface::ignore(const QUuid& nodeID, bool ignoreEnabled) { · 28 unmodified lines
2929 DependencyManager::get<NodeList>()->ignoreNodeBySessionID(nodeID, ignoreEnabled);
3030 }
3131
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);
3535 }
3636
3737 void UsersScriptingInterface::personalMute(const QUuid& nodeID, bool muteEnabled) {