Fix configure voice chat
add missing async/await call to fetch chat inputs
This commit is contained in:
parent
80bf8119af
commit
19050d317b
|
|
@ -503,7 +503,7 @@
|
|||
(d) => d.request_id !== deferred.request_id
|
||||
);
|
||||
} else if (evt_id) {
|
||||
logger.log("[asyncJamClient] event received:", evt_id, Object.keys(response)[0])
|
||||
//logger.log("[asyncJamClient] event received:", evt_id, Object.keys(response)[0])
|
||||
let method = Object.keys(response)[0]
|
||||
|
||||
switch (evt_id.toString()) {
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@
|
|||
await context.jamClient.TrackSetChatEnable(true);
|
||||
var result = await context.jamClient.TrackSaveAssignments();
|
||||
|
||||
if(!result || result.length == 0) {
|
||||
if(!result || result.length === 0) {
|
||||
context.JK.Banner.showAlert('It appears the selected chat input is not functioning. Please try another chat input.');
|
||||
}
|
||||
else {
|
||||
|
|
@ -100,7 +100,7 @@
|
|||
|
||||
$chatInputs.empty();
|
||||
|
||||
var chatInputs = gearUtils.getChatInputs();
|
||||
var chatInputs = await gearUtils.getChatInputs();
|
||||
|
||||
context._.each(chatInputs, function(chatInput) {
|
||||
if(chatInput.assignment > 0) {
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
async function newSession() {
|
||||
function newSession() {
|
||||
firstTimeShown = true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue