Course lesson
Now that we have user information available to us, we want to connect messages created to the users that are sending them. When we add read privileges to the User model, we can call User.identity() to get the user data we need to set for messages.
Now that we have user information available to us, we want to connect messages created to the users that are sending them. When we add read privileges to the User model, we can call User.identity() to get the user data we need to set for messages.
Course lesson
Now that we have user information available to us, we want to connect messages created to the users that are sending them. When we add read privileges to the User model, we can call User.identity() to get the user data we need to set for messages.