Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

user one id not match with auth id #130

Open
nad33mahm3d opened this issue Aug 14, 2018 · 2 comments
Open

user one id not match with auth id #130

nad33mahm3d opened this issue Aug 14, 2018 · 2 comments

Comments

@nad33mahm3d
Copy link

Issue in talk/src/Conversations/ConversationRepository.php

Line 107
$conversationWith = ($thread->userone->id == $user) ? $thread->usertwo : $thread->userone;

@nad33mahm3d
Copy link
Author

$thread->userone->id need to be $thread->user_one

@nahid
Copy link
Owner

nahid commented Nov 1, 2018

userone is a relation with user and user_one is treads column name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants