Improve import of Customers linked to several Conversations

This commit is contained in:
Antoine Le Gonidec 2024-07-08 13:43:26 +02:00
parent b1438e5ca1
commit 8d71b98899
Signed by: vv221
GPG key ID: 636B78F91CEB80D8

View file

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