laravel-messenger
laravel-messenger copied to clipboard
Simple user messaging package for Laravel
The `scopeBetweenOnly` scope for Threads does not exclude threads that include more participants than those given in the argument. https://github.com/cmgmyr/laravel-messenger/blob/765aa2da74beaf86c8ed00fa87736e70e4819cc0/src/Models/Thread.php#L216-L226 The `whereIn('user_id', $participants)` part narrows it down so each grouped...
# Change? * Route updated * Correct User model Import in the controller as per Laravel latest version * Add command for publishing example assets. easy then manual copy
`Thread::addParticipant` does not check to see if a matching soft-deleted `participants` record already exists and will create a duplicate record. `Thread::activateAllParticipants` can then restore the deleted record. When multiple active...