aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-12-08 13:07:05 +0000
committerrinpatch <rinpatch@sdf.org>2019-12-08 13:07:05 +0000
commit8404f8c8fbc4a60473df0977bc05e2587207d811 (patch)
treebff0ee7f5d0280722cfc49748103204d08394d6b /lib/pleroma/web
parent29a3f70cba7bed31e6777832c4d2dc5c326b70c1 (diff)
parentd4953474ac5546d771879c32d3a7ec40675a00a1 (diff)
downloadpleroma-8404f8c8fbc4a60473df0977bc05e2587207d811.tar.gz
Merge branch 'improve-move-notificaions-api' into 'develop'
Add `with_move` query param to the notifications API See merge request pleroma/pleroma!2032
Diffstat (limited to 'lib/pleroma/web')
-rw-r--r--lib/pleroma/web/mastodon_api/mastodon_api.ex3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pleroma/web/mastodon_api/mastodon_api.ex b/lib/pleroma/web/mastodon_api/mastodon_api.ex
index ee253a342..b1816370e 100644
--- a/lib/pleroma/web/mastodon_api/mastodon_api.ex
+++ b/lib/pleroma/web/mastodon_api/mastodon_api.ex
@@ -70,7 +70,8 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPI do
exclude_types: {:array, :string},
exclude_visibilities: {:array, :string},
reblogs: :boolean,
- with_muted: :boolean
+ with_muted: :boolean,
+ with_move: :boolean
}
changeset = cast({%{}, param_types}, params, Map.keys(param_types))