ChatMessageReferenceView: Return read status as unread.
This commit is contained in:
parent
fb4ae9c720
commit
c020fd4352
2 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue