Compare commits

..

No commits in common. "446945e7f9917567ccde58589a00be7cf7381618" and "b1438e5ca1dfb8dc3236911b974ead3467f90738" have entirely different histories.

4 changed files with 3 additions and 8 deletions

View file

@ -1,7 +1,3 @@
0.3.0
* Improve the initial linking of Customers to Mailboxes, to include Customers linked with several Conversations.
0.2.0 0.2.0
* On the initial package install, link existing Customers to Mailboxes. * On the initial package install, link existing Customers to Mailboxes.

View file

@ -19,7 +19,7 @@ You have been warned.
### Install the package with composer ### Install the package with composer
``` ```
composer require "millions-missing-france/freescout-restricted-customers" "0.3.0" composer require "millions-missing-france/freescout-restricted-customers" "0.2.0"
``` ```
### Edit the application routes ### Edit the application routes

View file

@ -1,7 +1,7 @@
{ {
"name": "millions-missing-france/freescout-restricted-customers", "name": "millions-missing-france/freescout-restricted-customers",
"description": "Freescout restricted customers - Restrict access to Freescout customers to specific mailboxes", "description": "Freescout restricted customers - Restrict access to Freescout customers to specific mailboxes",
"version": "0.333", "version": "0.2.0",
"type": "library", "type": "library",
"license": ["AGPL-3.0-only"], "license": ["AGPL-3.0-only"],
"authors": [ "authors": [

View file

@ -91,8 +91,7 @@ class Customer extends BaseCustomer {
public function mailboxesThroughConversations() { public function mailboxesThroughConversations() {
return $this return $this
->conversations ->conversations
->pluck('mailbox') ->pluck('mailbox');
->unique();
} }
/** /**