Skip to content
Unverified Commit dbab315f authored by Joas Schilling's avatar Joas Schilling
Browse files

Store the last "comment" message in the rooms table to compare it with the unread counter



Before a chat that was "read" but had a system message afterwards (like a user leaving)
would trigger another query to the oc_comments table to check for the unread message count,
although the "comment" counter could still be 0 as only "unreadable" messages were posted.

Signed-off-by: default avatarJoas Schilling <coding@schilljs.com>
parent 127b54fe
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment