From 4666bdf9d5c7cc19b728af1c88a83993bf905e7f Mon Sep 17 00:00:00 2001 From: Alex Junior Date: Tue, 15 Mar 2022 21:43:44 -0300 Subject: [PATCH] Chore: Migrate REST API - sendEmailCode to Typescript (#3905) --- app/lib/rocketchat/rocketchat.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/lib/rocketchat/rocketchat.js b/app/lib/rocketchat/rocketchat.js index 24aa2cccf..eb94a3f71 100644 --- a/app/lib/rocketchat/rocketchat.js +++ b/app/lib/rocketchat/rocketchat.js @@ -365,12 +365,6 @@ const RocketChat = { methodCall(...args) { return sdk.methodCall(...args); }, - addUsersToRoom(rid) { - let { users } = reduxStore.getState().selectedUsers; - users = users.map(u => u.name); - // RC 0.51.0 - return this.methodCallWrapper('addUsersToRoom', { rid, users }); - }, hasRole(role) { const shareUser = reduxStore.getState().share.user; const loginUser = reduxStore.getState().login.user;