-
Notifications
You must be signed in to change notification settings - Fork 30
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
How to resolve the sender to the User model? #3
Comments
the package doesnt return the users any more.... Ill show you how I use it in my controller: the package now only returns the id of the users, As you would see in my controller, I get the messages, than I fetch the In the view I would do something like this: $users[ $msg->getSender() ]->username public function conversation($conv_id) {
$participants)->with('profileImage')->get();
On Sun, Jun 15, 2014 at 12:26 AM, nockedout notifications@github.com
Tzook Bar Noy "Life is what happens while you are busy making other plans" Phone: +972.52.4625353 Email: tzookb@gmail.com |
Okay, I understand now. Thanks for your demonstration! |
So, I'm fetching a message via
Result:
Now, in my template I'd do something like
It's not possible, since all properties on the object are protected. I assume this is still a bug, right?
The text was updated successfully, but these errors were encountered: