Compare commits

...
Author SHA1 Message Date
Shivam Mishra ea7e9dfaa2 feat: handle team changed specifically 2025-02-03 17:25:01 +05:30
@@ -29,6 +29,7 @@ class ActionCableConnector extends BaseActionCableConnector {
'notification.updated': this.onNotificationUpdated,
'conversation.read': this.onConversationRead,
'conversation.updated': this.onConversationUpdated,
'team.changed': this.onTeamChanged,
'account.cache_invalidated': this.onCacheInvalidate,
};
}
@@ -114,6 +115,11 @@ class ActionCableConnector extends BaseActionCableConnector {
this.fetchConversationStats();
};
onTeamChanged = data => {
this.app.$store.dispatch('updateConversation', data);
this.fetchConversationStats();
};
onTypingOn = ({ conversation, user }) => {
const conversationId = conversation.id;