fix: Disable typing indicator for user when agent is typing a private note (#3303)

This commit is contained in:
Hugo Sarti
2021-11-01 05:20:07 -03:00
committed by GitHub
parent 000c7603d6
commit 68fa694268
8 changed files with 38 additions and 16 deletions

View File

@@ -12,9 +12,9 @@ export const getters = {
};
export const actions = {
toggleTyping: async (_, { status, conversationId }) => {
toggleTyping: async (_, { status, conversationId, isPrivate }) => {
try {
await ConversationAPI.toggleTyping({ status, conversationId });
await ConversationAPI.toggleTyping({ status, conversationId, isPrivate });
} catch (error) {
// Handle error
}