mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-01 11:37:58 +00:00
fix: Add agent typing notification on all channels (#2855)
Fixes CVE-2021-22881 Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
This commit is contained in:
@@ -390,13 +390,11 @@ export default {
|
||||
this.isFocused = true;
|
||||
},
|
||||
toggleTyping(status) {
|
||||
if (this.isAWebWidgetInbox && !this.isPrivate) {
|
||||
const conversationId = this.currentChat.id;
|
||||
this.$store.dispatch('conversationTypingStatus/toggleTyping', {
|
||||
status,
|
||||
conversationId,
|
||||
});
|
||||
}
|
||||
const conversationId = this.currentChat.id;
|
||||
this.$store.dispatch('conversationTypingStatus/toggleTyping', {
|
||||
status,
|
||||
conversationId,
|
||||
});
|
||||
},
|
||||
onFileUpload(file) {
|
||||
if (!file) {
|
||||
|
||||
Reference in New Issue
Block a user