Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Method ConversationService::common() does not exist #305

Open
mooxnl opened this issue Jun 2, 2022 · 1 comment
Open

Method ConversationService::common() does not exist #305

mooxnl opened this issue Jun 2, 2022 · 1 comment

Comments

@mooxnl
Copy link

mooxnl commented Jun 2, 2022

According to the documentation, you can Get common conversations among participants using:

$conversations = Chat::conversations()->common($participants);

But that method doesn't exist.

Steps to reproduce the behavior:

$participants = [$model1, $model2];
$conversations = Chat::conversations()->common($participants);

Expected behavior
Return a list of conversations between $model1 and $model2.

Additional context
The between() method could be used for this, however, that method only works for 2 models and conversations that are private.

@goper-leo
Copy link

@mooxnl it was removed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants