Showing the changes to libraries/script-engine/src/UsersScriptingInterface.cpp (1 of 6 files). Show all
Unified · Split
| @@ -26,6 +26,12 @@ void UsersScriptingInterface::ignore(const QUuid& nodeID) { · 25 unmodified lines | ||
| 26 | 26 | DependencyManager::get<NodeList>()->ignoreNodeBySessionID(nodeID); |
| 27 | 27 | } |
| 28 | 28 | |
| 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 | + | |
| 29 | 35 | void UsersScriptingInterface::kick(const QUuid& nodeID) { |
| 30 | 36 | // ask the NodeList to kick the user with the given session ID |
| 31 | 37 | DependencyManager::get<NodeList>()->kickNodeBySessionID(nodeID); |