Open nad33mahm3d opened 6 years ago
Issue in talk/src/Conversations/ConversationRepository.php
Line 107 $conversationWith = ($thread->userone->id == $user) ? $thread->usertwo : $thread->userone;
$conversationWith = ($thread->userone->id == $user) ? $thread->usertwo : $thread->userone;
$thread->userone->id need to be $thread->user_one
$thread->userone->id
$thread->user_one
userone is a relation with user and user_one is treads column name
userone
user_one
Issue in talk/src/Conversations/ConversationRepository.php
Line 107
$conversationWith = ($thread->userone->id == $user) ? $thread->usertwo : $thread->userone;