From 58418fc5c214f4e5cf47960d6d350a80411cd86d Mon Sep 17 00:00:00 2001 From: Gleidson Daniel Silva Date: Mon, 7 Mar 2022 09:03:51 -0300 Subject: [PATCH] Chore: Delete unused function getUserRoles (#3836) --- app/lib/rocketchat/services/restApi.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/lib/rocketchat/services/restApi.ts b/app/lib/rocketchat/services/restApi.ts index 43aff8c6..8f0d074d 100644 --- a/app/lib/rocketchat/services/restApi.ts +++ b/app/lib/rocketchat/services/restApi.ts @@ -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