mirror of
https://github.com/lingble/chatwoot.git
synced 2025-12-24 06:37:13 +00:00
feat: End conversation from widget (#3660)
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> Co-authored-by: Fayaz Ahmed <15716057+fayazara@users.noreply.github.com> Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com> Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com> Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
This commit is contained in:
@@ -5,6 +5,7 @@ import {
|
||||
sendAttachmentAPI,
|
||||
toggleTyping,
|
||||
setUserLastSeenAt,
|
||||
toggleStatus,
|
||||
} from 'widget/api/conversation';
|
||||
|
||||
import { createTemporaryMessage, getNonDeletedMessages } from './helpers';
|
||||
@@ -130,4 +131,8 @@ export const actions = {
|
||||
// IgnoreError
|
||||
}
|
||||
},
|
||||
|
||||
resolveConversation: async () => {
|
||||
await toggleStatus();
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user