Skip to content

Conversation

@backportbot-nextcloud
Copy link

@backportbot-nextcloud backportbot-nextcloud bot commented Aug 20, 2021

⚠️ This backport had conflicts and is incomplete ⚠️

backport of #6103

@nickvergessen
Copy link
Member

@danxuliu can you verify the backport?

The audio encoder is initialized when the AudioRecorder component is
mounted, and the store keeps track of whether the audio encoder was
already initialized to not do it again.

However, the audio encoder was also unconditionally registered in the
main components of the main and sidebar Talk UIs, which caused a
duplicated registration when the audio encoder was initialized (as the
store did not "know" that it was already registered).

Due to all this the unconditional registration is removed (which also
avoids registering the audio encoder when it will not be needed, like
when the current user is a guest without upload permissions).

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
@nickvergessen nickvergessen force-pushed the backport/6103/stable22.1 branch from b92587d to 09d698d Compare August 20, 2021 13:59
Copy link
Member

@nickvergessen nickvergessen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed (App.vue imports were not removed)

@marcoambrosini marcoambrosini merged commit 7ad0e59 into stable22.1 Aug 22, 2021
@marcoambrosini marcoambrosini deleted the backport/6103/stable22.1 branch August 22, 2021 16:55
@nickvergessen nickvergessen mentioned this pull request Aug 30, 2021
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants