We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5b2ff6 commit 0a6f785Copy full SHA for 0a6f785
src/Cmgmyr/Messenger/Traits/Messagable.php
@@ -63,7 +63,7 @@ public function threadsWithNewMessages()
63
{
64
$threadsWithNewMessages = [];
65
66
- $participants = Models::participant()->where('user_id', $this->id)->lists('last_read', 'thread_id');
+ $participants = Models::participant()->where('user_id', $this->id)->pluck('last_read', 'thread_id');
67
68
/**
69
* @todo: see if we can fix this more in the future.
0 commit comments