Skip to content

Commit

Permalink
Chore: Delete unused function getUserRoles (RocketChat#3836)
Browse files Browse the repository at this point in the history
  • Loading branch information
dnlsilva authored Mar 7, 2022
1 parent e333112 commit 33ee179
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/lib/rocketchat/services/restApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -282,10 +282,6 @@ export const toggleRead = (read: boolean, roomId: string) => {
return sdk.post('subscriptions.read', { rid: roomId });
};

export const getUserRoles = () =>
// RC 0.27.0
sdk.methodCallWrapper('getUserRoles');

export const getRoomCounters = (roomId: string, t: RoomTypes): any =>
// RC 0.65.0
// TODO: missing definitions from server
Expand Down

0 comments on commit 33ee179

Please sign in to comment.