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 talking collision not colliding properly #455

Merged
merged 2 commits into from
Jul 8, 2022
Merged

Conversation

dbkr
Copy link
Member

@dbkr dbkr commented Jul 7, 2022

The code was only entering the blocked state if the user was speaking,
which often won't be the case when another person starts speaking because
we'll have pressed the button but not got the ack back from the server
yet. Add the transmitblocked flag instead so we don't enter that state
again if we've already decided we've been blocked.

We were also starting with blocked = false and so resetting it when it
shouldn't have been reset.

Also requires matrix-org/matrix-js-sdk#2502

The code was only entering the blocked state if the user was speaking,
which often won't be the case when another person starts speaking because
we'll have pressed the button but not got the ack back from the server
yet. Add the transmitblocked flag instead so we don't enter that state
again if we've already decided we've been blocked.

We were also starting with blocked = false and so resetting it when it
shouldn't have been reset.

Also requires matrix-org/matrix-js-sdk#2502
@dbkr dbkr requested a review from a team as a code owner July 7, 2022 18:46
@dbkr dbkr merged commit b0c8ceb into main Jul 8, 2022
@dbkr dbkr deleted the dbkr/fix_talkover branch December 21, 2022 11:01
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