chore: Assign to agent who create new message from contact panel (#3924)

This commit is contained in:
Muhsin Keloth
2022-02-07 13:43:16 +05:30
committed by GitHub
parent 9f37a6e2ba
commit f4c0ce5dfa
2 changed files with 11 additions and 1 deletions

View File

@@ -133,6 +133,7 @@ export default {
...mapGetters({
uiFlags: 'contacts/getUIFlags',
conversationsUiFlags: 'contactConversations/getUIFlags',
currentUser: 'getCurrentUser',
}),
getNewConversation() {
return {
@@ -141,6 +142,7 @@ export default {
contactId: this.contact.id,
message: { content: this.message },
mailSubject: this.subject,
assigneeId: this.currentUser.id,
};
},
targetInbox: {