This PR properly completes the showRoles functionality in Embedded Chat. The showRoles option has been available for a long time, but it hasn't been implemented in the code and has been pending for quite some time. This work aims to fully add that feature.
Fulfillment of Acceptance Criteria
[x] Saved showRoles as global state.
[x] Utilized saved channel roles to iterate and display them accordingly.
Brief Title
This PR properly completes the showRoles functionality in Embedded Chat. The showRoles option has been available for a long time, but it hasn't been implemented in the code and has been pending for quite some time. This work aims to fully add that feature.
Fulfillment of Acceptance Criteria
Fixes #564
Video/Screenshots
https://github.com/RocketChat/EmbeddedChat/assets/78961432/b218f02a-2ee0-4443-9743-9d015743c999
Note : This PR requires a rebuild to incorporate a newly added API call