mirror of
https://github.com/freescout-helpdesk/freescout.git
synced 2024-11-24 11:22:42 +01:00
set "to" in new conversation with url parameter
This commit is contained in:
parent
608e6e7a1d
commit
758129d035
@ -315,6 +315,12 @@ class ConversationsController extends Controller
|
||||
}
|
||||
}
|
||||
|
||||
$to = [];
|
||||
|
||||
if ($request->get('to')) {
|
||||
$to = [$request->get('to')];
|
||||
}
|
||||
|
||||
return view('conversations/create', [
|
||||
'conversation' => $conversation,
|
||||
'thread' => $thread,
|
||||
@ -322,7 +328,7 @@ class ConversationsController extends Controller
|
||||
'folder' => $folder,
|
||||
'folders' => $mailbox->getAssesibleFolders(),
|
||||
'after_send' => $after_send,
|
||||
'to' => [],
|
||||
'to' => $to,
|
||||
]);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user