currentMessagesState

State handler for the UI, which holds all the information the UI needs to render messages.

It chooses between threadListState and messageListState based on if we're in a thread or not.