Hi everyone.
In this video we need to fix one more.
But in the end application right now.
And actually this is not a bug logic okay, this is the some UI mod okay, we need to fix a little bit
to have the front end can consume the data.
Very effective okay.
Right now instead of worry and look into the the updated app I will change a little bit.
I will add one more fields into the.
The schema conversion schema will be the last message.
Let me open for you conversation.
Right here I already provide one more field called last message.
Okay.
And from here I will look through that okay I will look through last and I will show Intruder.
Sorry.
I will say this based on the last message.
Okay.
Marshall knew nothing about us.
And right here.
I will show you what exactly this God is like.
Don't worry about us right now.
You just need to know right now.
We just played the last message up and last message out over here.
And let me show you where we update the last message at.
It will confirm the message service over here when we send the message.
Right here.
We already update the last message.
Right.
And we will call one more function to update the last message.
We will we will put the conversion ID and same message over here.
You can say I will insert the conversion service.
I already prepared for you one more helper function code update.
Last message I would call it a day.
Okay.
In here we will call the function to find by ID and update what conversation id and the last message
and the last message are okay.
From the last message I will go to the last message right here.
Not created right.
So that's the.
Book right now and I hope you understand okay.
In later when we consume the API, I want when a user send a message I want that message.
And last conversation should be go to the top right.
So right now if you don't understand it feel free okay.
Okay.
You can, uh, if you don't understand, you can, uh, check out my friend course about this application.
Okay, so that's for the video, and I will see you.