Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[228] Connection meter discrepancy #10

Merged
merged 7 commits into from
Dec 15, 2020

Conversation

Jazastry
Copy link

@Jazastry Jazastry commented Dec 14, 2020

Trello Card

The only file for review is react/features/connection-indicator/components/web/TvtConnectionIndicator.js ! All other new files are needed for development purposes.

Description

In this PR we are fixing a bug in the top-bar connection indicator not showing the current participant connections status property.

Reason for the bug

In the TvtConnectionIndicator (ex ConnectionIndicator) the participant id was not assigned in case if the participantId is not passed to the component as a property.
As a consequence, the component can not subscribe properly for the update stats events.

Fix

Adds reassigning of the participantId no matter if the prop is passed or not.

Additional changes

  • removes unnecessary custom logic from the webpack.config.js file

- adds logic to assign the participantId of the current user if no
  participantId is provided through the props
@Jazastry Jazastry changed the base branch from master to threeveta-web-master December 14, 2020 15:36
Copy link
Member

@kachar kachar left a comment

Choose a reason for hiding this comment

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

Awesome 🤘 💯 🏅

@kachar kachar merged commit 5aa19dc into threeveta-web-master Dec 15, 2020
@kachar kachar deleted the 228-connection-meter-discrepancy branch December 15, 2020 11:09
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.

2 participants