History

fixes

howard-stearns committed 9 years ago

Commit 2f2940b1 parent 344272f6 files · +46 −4Browse 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+6−0
@@ -26,6 +26,12 @@ void UsersScriptingInterface::ignore(const QUuid& nodeID) { · 25 unmodified lines
2626 DependencyManager::get<NodeList>()->ignoreNodeBySessionID(nodeID);
2727 }
2828
29+void UsersScriptingInterface::unignore(const QUuid& nodeID) {
30+ // ask the NodeList to ignore this user (based on the session ID of their node)
31+ DependencyManager::get<NodeList>()->unignoreNodeBySessionID(nodeID);
32+}
33+
34+
2935 void UsersScriptingInterface::kick(const QUuid& nodeID) {
3036 // ask the NodeList to kick the user with the given session ID
3137 DependencyManager::get<NodeList>()->kickNodeBySessionID(nodeID);