mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-10-31 19:17:48 +00:00 
			
		
		
		
	[Bug] Remove markSeen, toggleTyping calls for WebWidget channels (#225)
This commit is contained in:
		| @@ -215,7 +215,7 @@ export default { | |||||||
|       this.toggleTyping('on'); |       this.toggleTyping('on'); | ||||||
|     }, |     }, | ||||||
|     markSeen() { |     markSeen() { | ||||||
|       if (this.channelType !== 'Channel::FacebookPage') { |       if (this.channelType === 'Channel::FacebookPage') { | ||||||
|         this.$store.dispatch('markSeen', { |         this.$store.dispatch('markSeen', { | ||||||
|           inboxId: this.currentChat.inbox_id, |           inboxId: this.currentChat.inbox_id, | ||||||
|           contactId: this.currentChat.meta.sender.id, |           contactId: this.currentChat.meta.sender.id, | ||||||
| @@ -224,7 +224,7 @@ export default { | |||||||
|     }, |     }, | ||||||
|  |  | ||||||
|     toggleTyping(status) { |     toggleTyping(status) { | ||||||
|       if (this.channelType !== 'Channel::FacebookPage') { |       if (this.channelType === 'Channel::FacebookPage') { | ||||||
|         this.$store.dispatch('toggleTyping', { |         this.$store.dispatch('toggleTyping', { | ||||||
|           status, |           status, | ||||||
|           inboxId: this.currentChat.inbox_id, |           inboxId: this.currentChat.inbox_id, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Pranav Raj S
					Pranav Raj S