Chore: Move conversationStats to a seperate module (#962)

* Chore: Move conversationStats to a seperate module

* Move toggleTyping to conversationTypingStatus

* Remove unused agentTyping flag

* Fix review comments
This commit is contained in:
Pranav Raj S 2020-06-14 14:07:52 +05:30 committed by GitHub
parent 5ec9af9325
commit 5cb88237f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 139 additions and 98 deletions

View file

@ -269,7 +269,7 @@ export default {
toggleTyping(status) {
if (this.channelType === 'Channel::WebWidget' && !this.isPrivate) {
const conversationId = this.currentChat.id;
this.$store.dispatch('toggleTyping', {
this.$store.dispatch('conversationTypingStatus/toggleTyping', {
status,
conversationId,
});