[v8.0.x] Fix some issues related to guest participants #904
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request adds avatars for guests in the call view, as well as fixing other related issues. For details please refer to the individual commit messages :-)
It will probably need to be forwardported, although I have not checked.
Also note that the avatar is currently shown only for guests for which there is a peer connection (as the guest avatar depends on the nick, and the nick for guests when the HPB is used is currently sent through data channels, which require a peer connection). None of the changes from nextcloud/spreed#4182 are applied here.
How to test (scenario 1)
Result with this pull request
Nothing strange happens.
Result without this pull request
The web socket of the Android app gets reconnected.
How to test (scenario 2)
Result with this pull request
The guest name is updated.
Result without this pull request
The guest name is not updated. Also, checking the errors in Android's logcat it can be seen that NullPointerExceptions are thrown when the guest sends a
nickChangedevent (which happens every second).How to test (scenario 3)
Result with this pull request
The guest avatar is initially shown and then updated when the guest name is changed.
Result without this pull request
The guest avatar is not shown.