mirror of
https://github.com/DerTyp7/teamspeak-obs-overlay.git
synced 2025-10-29 21:02:10 +01:00
[feature] init vite project
This commit is contained in:
12
old_js/js/utils.js
Normal file
12
old_js/js/utils.js
Normal file
@@ -0,0 +1,12 @@
|
||||
function getClientsInChannel(channel) {
|
||||
let result = [];
|
||||
|
||||
clientList.items.forEach((e) => {
|
||||
if (e.channel) {
|
||||
if (e.channel.id == channel.id) {
|
||||
result.push(e);
|
||||
}
|
||||
}
|
||||
});
|
||||
return result;
|
||||
}
|
||||
Reference in New Issue
Block a user