Skip to content

feat(plugins): Add support for the plugin to unmount on meeting end - #157

Merged
antobinary merged 2 commits into
bigbluebutton:v0.0.xfrom
GuiLeme:unmount-plugin-on-meeting-end
Mar 17, 2025
Merged

antobinary merged 2 commits into
bigbluebutton:v0.0.xfrom
GuiLeme:unmount-plugin-on-meeting-end

Conversation

@GuiLeme

@GuiLeme GuiLeme commented Mar 12, 2025 •

Copy link
Copy Markdown
Collaborator

What does this PR do?

This PR basically creates a way for the plugin to decide whether to unmount when the meeting is ended or the user is ejected.

Motivation

This PR fixes the problem where the pick-random-user modal continues open when meeting terminates (if it was open before).

A subsequent PR is going to be sent to the pick-random-user plugin repo implementing this function.

It's worth mentioning that if, for any reason, the plugin dev doesn't want to terminate the plugin once the meeting is over, that's still possible, once this function is not even mandatory.

How to test

Use this branch to test the pick-random-user:

  • Open the modal to pick another user;
  • End the meeting via API call to bbb-web.

More

Closely related to CORE PR bigbluebutton/bigbluebutton#22671
Closely related to Plugin PR: bigbluebutton/bbb-plugin-pick-random-user#31

See demo ahead:

fix_plugin_unmount.mp4

@JoVictorNunes JoVictorNunes left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

The bug was fixed! LGTM!

@antobinary
antobinary merged commit 7cbcc60 into bigbluebutton:v0.0.x Mar 17, 2025
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.

3 participants