-
-
Notifications
You must be signed in to change notification settings - Fork 305
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
$conversation = Chat::conversations()->between($participantModel1, $participantModel2); is not work #309
Comments
Could you provide more information? I have just tested on my side and it returns Musonza\Chat\Models\Conversation as I expected |
make sure you get conversations that are direct, and make sure direct_message column is 1. |
I try
$user1 = User::find(1);
$user2 = User::find(2);
$conversation = Chat::conversations()->between($user1, $user2);
return $conversation;
in my controller
The text was updated successfully, but these errors were encountered: