List of eligible messages
If you search a specified conversation, messageList contains the list of all the eligible messages in the current conversation.
If you search all conversations, there are two possibilities for the number of messages contained in messageList:
- If more than 1 eligible message is found in a conversation, messageList is empty, and the notification message "messageCount related messages" can be displayed on the UI.
- If 1 eligible message is found in a conversation, messageList contains the eligible message, and the message is displayed with the matching keywords highlighted on the UI.