Skip to content

Commit

Permalink
chore!: removed deprecated methods livechat:removeAgent, livechat:rem…
Browse files Browse the repository at this point in the history
…oveManager, and livechat:removeDepartment

Signed-off-by: Abhinav Kumar <[email protected]>
  • Loading branch information
abhinavkrin committed Oct 3, 2024
1 parent 09d45b8 commit e41635c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 92 deletions.
5 changes: 5 additions & 0 deletions .changeset/purple-tools-heal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@rocket.chat/meteor': major
---

Removed deprecated methods `livechat:removeAgent`, `livechat:removeManager` and `livechat:removeDepartment`. Moving forward, use `livechat/users/agent/:_id`, and `livechat/users/manager/:_id` and `livechat/department/:_id` respectively.`
3 changes: 0 additions & 3 deletions apps/meteor/app/livechat/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,8 @@ import './methods/getNextAgent';
import './methods/getRoutingConfig';
import './methods/pageVisited';
import './methods/registerGuest';
import './methods/removeAgent';
import './methods/removeAllClosedRooms';
import './methods/removeCustomField';
import './methods/removeDepartment';
import './methods/removeManager';
import './methods/removeTrigger';
import './methods/removeRoom';
import './methods/saveAgentInfo';
Expand Down
27 changes: 0 additions & 27 deletions apps/meteor/app/livechat/server/methods/removeAgent.ts

This file was deleted.

33 changes: 0 additions & 33 deletions apps/meteor/app/livechat/server/methods/removeDepartment.ts

This file was deleted.

29 changes: 0 additions & 29 deletions apps/meteor/app/livechat/server/methods/removeManager.ts

This file was deleted.

0 comments on commit e41635c

Please sign in to comment.