Skip to content

Commit

Permalink
src: Make broadcasts work again (discordjs#3190)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vlad Frangu authored and amishshah committed Apr 8, 2019
1 parent f479afc commit 89e27e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/client/voice/VoiceBroadcast.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ class VoiceBroadcast extends EventEmitter {
add(dispatcher) {
const index = this.dispatchers.indexOf(dispatcher);
if (index === -1) {
this.dispatchers.push(dispatcher);
/**
* Emitted whenever a stream dispatcher subscribes to the broadcast.
* @event VoiceBroadcast#subscribe
Expand Down

0 comments on commit 89e27e5

Please sign in to comment.