daily-co / daily-js

https://docs.daily.co/reference/daily-js
BSD 2-Clause "Simplified" License
103 stars 33 forks source link

BUG Meeting state never changes to "left-meeting" after clicking the Leave button #192

Closed mklepaczewski closed 2 years ago

mklepaczewski commented 2 years ago

Expected behavior

Using Daily Prebuilt, when clicking the Leave button, the DailyCall.meetingState() should return left-meeting.

Describe the bug (unexpected behavior)

After leaving the meeting DailyCall.meetingState() always returns joined-meeting.

Steps to reproduce

https://codepen.io/mklepaczewski/pen/JjvKEeB

  1. Join the meeting.
  2. Click the Leave button
  3. Observe that DailyCall meeting state never changes from joined-meeting.

Additional info

Calling DailyCall.leave() or DailyCall.destroy() directly (i.e. skipping the Leave button) works correctly and changes the state to left-meeting.

System information

mklepaczewski commented 2 years ago

This bug seems to have been fixed in release 0.32.0.