Hi everyone.
In this video we need to fix one more user in the file from the file method inside the conversation
service over here.
Okay, inside the file method, what I want to do I want it populate the log message okay I want it
also populate the last message with the populated right here.
And I will specify the path.
Right.
And these are here I also want to this is the nested populate right.
I will populate the sender inside that block message.
Also let me show you inside the message schema.
We have our last message.
Sorry.
These are the conversations schema.
We have a log message okay.
What I want to do right now I want to populate this last few.
Okay.
And from the log message you can say these are the message schema.
We have a sender.
So for a reason from here we will populate the last message and from the last message I want to view
nested.
Populate the sender one more time and retrieve the the name of the sender.
Okay, after that, go back to the conversation DTO.
You can say insert a conversation video.
I already add something like that.
Firstly, I want to remove the last message with the message value over here, the text over here,
and I will add one more thing to make sure is the object should be for the chat form.
Okay, you can upload the object ID after the jump form.
If you does it will not work.
Make sure you do that before the transfer.
And right here you can look at the sender ID over here.
Create a sender ID last message for you and also the name the sender last message name over here okay.
So and based on that in the front end we can show the conversation.
With the last message and last for the video.