Skip to content

Commit

Permalink
fix(webchat): typing indicators on msg sent (#625)
Browse files Browse the repository at this point in the history
* fix(webchat): typing indicators on msg sent

* test

* test

* test

* revert
  • Loading branch information
slvnperron authored Sep 12, 2023
1 parent ab864fe commit efc004c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/webchat/src/store/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ class RootStore {

this.composer.updateMessage('')
try {
this.isBotTyping.set(true)
const message = await this.sendData({ type: 'text', text: textMessage })
trackMessage('sent')
if (message) {
Expand Down

0 comments on commit efc004c

Please sign in to comment.