chore: Add event for conversations transferred to Bot (#2167)

* chore:  Event for conversation transferred to Bot

Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
Co-authored-by: Nithin David <webofnithin@gmail.com>
This commit is contained in:
Sojan Jose
2021-04-28 20:53:23 +05:30
committed by GitHub
parent aa47bad4c1
commit 4b49d21543
13 changed files with 23 additions and 80 deletions

View File

@@ -10,8 +10,7 @@ class ActionCableConnector extends BaseActionCableConnector {
'message.created': this.onMessageCreated,
'message.updated': this.onMessageUpdated,
'conversation.created': this.onConversationCreated,
'conversation.opened': this.onStatusChange,
'conversation.resolved': this.onStatusChange,
'conversation.status_changed': this.onStatusChange,
'user:logout': this.onLogout,
'page:reload': this.onReload,
'assignee.changed': this.onAssigneeChanged,

View File

@@ -8,8 +8,7 @@ class ActionCableConnector extends BaseActionCableConnector {
'message.updated': this.onMessageUpdated,
'conversation.typing_on': this.onTypingOn,
'conversation.typing_off': this.onTypingOff,
'conversation.resolved': this.onStatusChange,
'conversation.opened': this.onStatusChange,
'conversation.status_changed': this.onStatusChange,
'presence.update': this.onPresenceUpdate,
};
}