Showing the changes to libraries/script-engine/src/UsersScriptingInterface.cpp (1 of 6 files). Show all
Unified · Split
| @@ -17,3 +17,8 @@ void UsersScriptingInterface::ignore(const QUuid& nodeID) { · 16 unmodified lines | ||
| 17 | 17 | // ask the NodeList to ignore this user (based on the session ID of their node) |
| 18 | 18 | DependencyManager::get<NodeList>()->ignoreNodeBySessionID(nodeID); |
| 19 | 19 | } |
| 20 | + | |
| 21 | +void UsersScriptingInterface::kick(const QUuid& nodeID) { | |
| 22 | + // ask the NodeList to kick the user with the given session ID | |
| 23 | + DependencyManager::get<NodeList>()->kickNodeBySessionID(nodeID); | |
| 24 | +} | |