Currently, all getConversations(XX), getMessages(xx) functions are retrieving messages from the earliest to the latest with the help of $offset and $take.
But In most cases, users need to see latest messages first and then scroll up to see old messages.
Would it be better to do things like $query->latest()->offset($offset)->take($take)?
Currently, all
getConversations(XX)
,getMessages(xx)
functions are retrieving messages from the earliest to the latest with the help of $offset and $take. But In most cases, users need to see latest messages first and then scroll up to see old messages. Would it be better to do things like$query->latest()->offset($offset)->take($take)
?