anear-js-api 0.3.4 → 0.3.5
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.
|
@@ -425,9 +425,8 @@ class AnearMessaging {
|
|
|
425
425
|
}
|
|
426
426
|
}
|
|
427
427
|
|
|
428
|
-
async detachParticipantPrivateChannel(
|
|
428
|
+
async detachParticipantPrivateChannel(eventId, participant) {
|
|
429
429
|
const userId = participant.userId
|
|
430
|
-
const eventId = anearEvent.id
|
|
431
430
|
const channel = this.eventChannels[eventId].privates[userId]
|
|
432
431
|
|
|
433
432
|
if (channel) {
|