We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2331264 commit 684adcfCopy full SHA for 684adcf
index.js
@@ -82,7 +82,7 @@ Object.defineProperties(MediaSession.prototype, {
82
set: function (value) {
83
if (value !== this._ringing) {
84
this._ringing = value;
85
- this.emit('change:ringing', value);
+ this.emit('change:ringing', this, value);
86
}
87
88
},
@@ -661,7 +661,7 @@ MediaSession.prototype = extend(MediaSession.prototype, {
661
// DataChannels
662
// ----------------------------------------------------------------
663
onAddChannel: function (channel) {
664
- this.emit('addChannel', channel);
+ this.emit('addChannel', this, channel);
665
666
});
667
0 commit comments