WideChat / Rocket.Chat

Have your own Slack like online chat, built with Meteor.
https://rocket.chat/
Other
3 stars 1 forks source link

design best way to prevent user from typing mid bot response #834

Open ear-dev opened 3 years ago

ear-dev commented 3 years ago

From the Bot in a single response payload: "text1->text2->text3-> customPayload": In this case it is possible for the user to input text between text3 and customPayload.

On slow links it is possible for the user to type before any response from the Bot.... this is also something we want to prevent.

We would like to disable input until after customPayload when the payload includes a disableText flag.

Examine and design best way to do it.

ear-dev commented 3 years ago

Is there a global solution where the user is prevented from typing after every message they send...... until the response from the bot has been received and displayed?