Skip to content

Commit

Permalink
fix: OSC mixerconnection - make initializeCommands optional for proto…
Browse files Browse the repository at this point in the history
…cols without it
  • Loading branch information
olzzon committed Mar 25, 2021
1 parent 42b0210 commit d008250
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/utils/mixerConnections/OscMixerConnection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ export class OscMixerConnection {

initialCommands() {
// To prevent network overload, timers will delay the requests.
this.mixerProtocol.initializeCommands.forEach(
this.mixerProtocol.initializeCommands?.forEach(
(item, itemIndex: number) => {
setTimeout(() => {
if (item.mixerMessage.includes('{channel}')) {
Expand Down

0 comments on commit d008250

Please sign in to comment.