I am having a huge issue, where get_all_threads, get_all_threads_grouped, get_message all return messages that have a MSG_STATUS_READ in the DB (I manually checked on the command line) as a MSG_STATUS_UNREAD.
And it is specifically only messages that terminate a thread (meaning the last message sent in a thread) even if user BOB sent the message, mahana still returns MSG_STATUS_UNREAD for BOB's user_id
I have checked over the code, and I can't seem to figure out why. I'm Stumped.
I am having a huge issue, where get_all_threads, get_all_threads_grouped, get_message all return messages that have a MSG_STATUS_READ in the DB (I manually checked on the command line) as a MSG_STATUS_UNREAD.
And it is specifically only messages that terminate a thread (meaning the last message sent in a thread) even if user BOB sent the message, mahana still returns MSG_STATUS_UNREAD for BOB's user_id
I have checked over the code, and I can't seem to figure out why. I'm Stumped.