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
26 DependencyManager::get<NodeList>()->ignoreNodeBySessionID(nodeID);26 DependencyManager::get<NodeList>()->ignoreNodeBySessionID(nodeID);
27}27}
28 28
29void 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
29void UsersScriptingInterface::kick(const QUuid& nodeID) {35void UsersScriptingInterface::kick(const QUuid& nodeID) {
30 // ask the NodeList to kick the user with the given session ID36 // ask the NodeList to kick the user with the given session ID
31 DependencyManager::get<NodeList>()->kickNodeBySessionID(nodeID);37 DependencyManager::get<NodeList>()->kickNodeBySessionID(nodeID);