chat icon indicating copy to clipboard operation
chat copied to clipboard

Return Conversation instead of Participations model

Open horsebuzz opened this issue 4 years ago • 0 comments

When I run the following code to get all conversation as per documentation

$conversations = Chat::conversations()->setParticipant($participantModel)->get();

It returns Participation model. It should return the Conversation model so that it can be easily feed into resources or fetch any other relevant data to the conversation.

Thank you

horsebuzz avatar Jun 04 '20 04:06 horsebuzz