Skip to content

Commit

Permalink
chore!: remove livechat:addAgent and livechat:addManager method (#33372)
Browse files Browse the repository at this point in the history
Signed-off-by: Abhinav Kumar <abhinav@avitechlab.com>
  • Loading branch information
abhinavkrin authored and MartinSchoeler committed Oct 14, 2024
1 parent aeecdda commit 9b45007
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 54 deletions.
5 changes: 5 additions & 0 deletions .changeset/tasty-goats-deny.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@rocket.chat/meteor': patch
---

This adjustment removes deprecated `livechat:addAgent` and `livechat:addManager` method. Moving forward use `livechat/users/agent` and `livechat/users/manager` endpoints to add agent and manager respectively.
2 changes: 0 additions & 2 deletions apps/meteor/app/livechat/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ import './hooks/saveLastMessageToInquiry';
import './hooks/afterUserActions';
import './hooks/afterAgentRemoved';
import './hooks/afterSaveOmnichannelMessage';
import './methods/addAgent';
import './methods/addManager';
import './methods/changeLivechatStatus';
import './methods/closeRoom';
import './methods/discardTranscript';
Expand Down
26 changes: 0 additions & 26 deletions apps/meteor/app/livechat/server/methods/addAgent.ts

This file was deleted.

26 changes: 0 additions & 26 deletions apps/meteor/app/livechat/server/methods/addManager.ts

This file was deleted.

0 comments on commit 9b45007

Please sign in to comment.