projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add ability to set a default post expiry (#321)
[akkoma]
/
lib
/
pleroma
/
web
/
mastodon_api
/
views
/
account_view.ex
diff --git
a/lib/pleroma/web/mastodon_api/views/account_view.ex
b/lib/pleroma/web/mastodon_api/views/account_view.ex
index a04ffaaf3a7d9d85a069f635ce16769f8efc0cf1..653a50e20aecc3a4b76eb70a16a56d8814399ccd 100644
(file)
--- a/
lib/pleroma/web/mastodon_api/views/account_view.ex
+++ b/
lib/pleroma/web/mastodon_api/views/account_view.ex
@@
-287,7
+287,8
@@
defmodule Pleroma.Web.MastodonAPI.AccountView do
},
last_status_at: user.last_status_at,
akkoma: %{
},
last_status_at: user.last_status_at,
akkoma: %{
- instance: render("instance.json", %{instance: instance})
+ instance: render("instance.json", %{instance: instance}),
+ status_ttl_days: user.status_ttl_days
},
# Pleroma extensions
# Note: it's insecure to output :email but fully-qualified nickname may serve as safe stub
},
# Pleroma extensions
# Note: it's insecure to output :email but fully-qualified nickname may serve as safe stub