chat
chat copied to clipboard
Get a conversation between two participants - (Works only for direct messages)
Sorry, I'm too lazy to change the readme and to pull it here. But I'm currently migrating to the newest version and I was struggling why
$conversation = Chat::conversations()->between($participantModel1, $participantModel2)
is not working. It's because between
sets the direct message to true. Would be nice to have a hint in the readme
I just tried testing the common
function, and before that I looked at your code and could not find it anywhere. Nonetheless here is an example:
return \Chat::conversations()->common([$order->seller, $order->buyer]);
leads to:
Call to undefined method Musonza\Chat\Services\ConversationService::common()
Hey, yeah that's a method that's no longer in this version. I have to update the readme
Hey, yeah that's a method that's no longer in this version. I have to update the readme
Thanks :)
Hey, yeah that's a method that's no longer in this version. I have to update the readme
Hey @musonza Can I ask you why it was removed?
@theMSY I believe it was giving incorrect results since I had implemented it with user ids only. It needed work and I didn't have time but if you need it I would be glad to help if you have a PR started
, it sounds like an opportunity to contribute. I would gladly help to implement it once I'm free. 😄
hello, have you correct it?