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

Fix: Join/Leave sounds don't play for you when you join/leave #761

Closed
wants to merge 1 commit into from

Conversation

OminousOne
Copy link

@OminousOne OminousOne commented Aug 25, 2022

Please make sure to check the following tasks before opening and submitting a PR

  • I understand and have followed the contribution guide
  • I have tested my changes locally and they are working as intended
  • These changes do not have any notable side effects on other Revolt projects
  • (optional) I have opened a pull request on the translation repository
  • I have included screenshots to demonstrate my changes

This PR just fixes a small bug where the join/leave voice call sounds don't play for you when you join/leave a call #760 (comment). (I haven't included screenshots because of the nature of the change).

Comment on lines +98 to +100
if (voiceState.connecting) {
state.settings.sounds.playSound("call_join");
}
Copy link
Member

Choose a reason for hiding this comment

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

Any re-render would cause the sound to play more than once here, I think this should be moved somewhere else.

@insertish
Copy link
Member

Closing due to inactivity

@insertish insertish closed this Jan 24, 2023
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