requirement is something like this
I have a table to record the chat content, and the field looks like this
msgid
from
to
content
time
then I need to show the user"s recent contacts. Theoretically, I can query all the recent contacts from this chat list through sql, but now I need to delete the recent contacts and keep the chat records, that is to say, it is impossible for me to delete the recent contact records by clearing the chat records of the two people.
so do I need to create another list of recent contacts? And then maintain this list of recent contacts while both parties are texting each other?