ChatMessageReferenceView: Return read status as unread.

This commit is contained in:
lain 2020-06-03 18:58:58 +02:00
commit c020fd4352
2 changed files with 3 additions and 3 deletions

View file

@ -30,7 +30,7 @@ defmodule Pleroma.Web.PleromaAPI.ChatMessageReferenceView do
attachment:
chat_message["attachment"] &&
StatusView.render("attachment.json", attachment: chat_message["attachment"]),
seen: seen
unread: !seen
}
end