bigbluebutton / bigbluebutton-html-plugin-sdk

BigBlueButton Plugin SDK
GNU Lesser General Public License v3.0
7 stars 6 forks source link

Data consumption - expose user meta parameters on useLoadedUserList and useCurrentUser hooks #31

Closed TiagoJacobs closed 3 weeks ago

TiagoJacobs commented 1 year ago

We would like to allow the plugin SDK to consume the meta parameters provided by the user when joining a meeting.

If possible, it would be good to receive this information along with the useLoadedUserList hook, reusing the user list query. The only point of attention is that this information should only be available to moderators, while for non-moderators it should be empty (mentioning @gustavotrott because it will probably require some tunes in graphql back-end).

Also, for some plugins implementations it could be useful for the user to get the current user meta parameters, in this case, I propose to add this information on the useCurrentUser as well.