chore: Use availability in dashboard presence toggle (#3212)
This commit is contained in:
parent
ed25435ac2
commit
cebd34053b
7 changed files with 22 additions and 19 deletions
|
@ -34,7 +34,7 @@ class ActionCableConnector extends BaseActionCableConnector {
|
|||
onPresenceUpdate = data => {
|
||||
this.app.$store.dispatch('contacts/updatePresence', data.contacts);
|
||||
this.app.$store.dispatch('agents/updatePresence', data.users);
|
||||
this.app.$store.dispatch('setCurrentUserAvailabilityStatus', data.users);
|
||||
this.app.$store.dispatch('setCurrentUserAvailability', data.users);
|
||||
};
|
||||
|
||||
onConversationContactChange = payload => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue