Marker: added unread_count field
This commit is contained in:
parent
6281e4795a
commit
d4270397dc
5 changed files with 61 additions and 5 deletions
|
|
@ -10,6 +10,7 @@ defmodule Pleroma.Web.MastodonAPI.MarkerView do
|
|||
Map.put_new(acc, m.timeline, %{
|
||||
last_read_id: m.last_read_id,
|
||||
version: m.lock_version,
|
||||
unread_count: m.unread_count,
|
||||
updated_at: NaiveDateTime.to_iso8601(m.updated_at)
|
||||
})
|
||||
end)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue