EmbeddedChat
EmbeddedChat copied to clipboard
Updated Deprecated Endpoints
Brief Title
Updated the endpoints which were found to be deprecated from the docs.
Fixes #1034
What are the changes made?
- endpoint changed from getUserRoles --> /roles.getUsersInPublicRoles
- /api/v1/method.call/rooms%3Aget endpoint which was used to get info of a room using DDP was found to be deprecated, therefore we are using a REST api endpoint which does the same thing.
PR Test Details
Note: The PR will be ready for live testing at https://rocketchat.github.io/EmbeddedChat/pulls/pr-<pr_number> after approval. Contributors are requested to replace <pr_number> with the actual PR number.