Skip to content

Fix panic caused by setting publishing on nonexistent participants.#5

Open
Lwrless wants to merge 1 commit intoossrs:mainfrom
Lwrless:bugfix/nil-participant
Open

Fix panic caused by setting publishing on nonexistent participants.#5
Lwrless wants to merge 1 commit intoossrs:mainfrom
Lwrless:bugfix/nil-participant

Conversation

@Lwrless
Copy link

@Lwrless Lwrless commented Mar 8, 2022

Get method of Room will return an error if the participant does not exist in the Room, thus setting Publishing on nil participant is prevented.

`Get` method of `Room` will return an error if the participant does not exist in the `Room`, thus setting `Publishing` on nil participant is prevented.
@Lwrless Lwrless changed the title Fix panic caused by getting nonexistent participants. Fix panic caused by setting publishing on nonexistent participants. Mar 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant