@reactoo/watchtogether-sdk-js 2.5.63 → 2.5.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/modules/wt-room.js
CHANGED
|
@@ -828,9 +828,9 @@ class RoomSession {
|
|
|
828
828
|
this._isDataChannelOpen = false;
|
|
829
829
|
this.isPublished = false;
|
|
830
830
|
this.emit('published', {status: false, hasStream: false});
|
|
831
|
-
this.emit('removeLocalParticipant', {id: handleId, userId: decodeJanusDisplay(handle.userId)?.userId});
|
|
831
|
+
this.emit('removeLocalParticipant', {id: handleId, userId: decodeJanusDisplay(handle.userId)?.userId, role: decodeJanusDisplay(handle.userId)?.role});
|
|
832
832
|
} else {
|
|
833
|
-
this.emit(this._getRemoveParticipantEventName(handleId), {id: handleId, userId: decodeJanusDisplay(handle.userId)?.userId});
|
|
833
|
+
this.emit(this._getRemoveParticipantEventName(handleId), {id: handleId, userId: decodeJanusDisplay(handle.userId)?.userId, role: decodeJanusDisplay(handle.userId)?.role});
|
|
834
834
|
}
|
|
835
835
|
|
|
836
836
|
if (removeHandle) {
|