diff options
author | lain <lain@soykaf.club> | 2019-03-20 21:09:36 +0100 |
---|---|---|
committer | lain <lain@soykaf.club> | 2019-03-20 21:09:36 +0100 |
commit | 8468f3f6d48693d2a27a257e5555aa71decff3df (patch) | |
tree | 9f61dcf50e315bba1842bda2e43d866adb7dbad7 /lib/pleroma/web/common_api/common_api.ex | |
parent | 0d14def0ca781b79ffb3c1022472ac64f990cdf8 (diff) | |
download | pleroma-8468f3f6d48693d2a27a257e5555aa71decff3df.tar.gz |
Add safe dm mode option.
Diffstat (limited to 'lib/pleroma/web/common_api/common_api.ex')
-rw-r--r-- | lib/pleroma/web/common_api/common_api.ex | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pleroma/web/common_api/common_api.ex b/lib/pleroma/web/common_api/common_api.ex index b5f79c3bf..50d60aade 100644 --- a/lib/pleroma/web/common_api/common_api.ex +++ b/lib/pleroma/web/common_api/common_api.ex @@ -142,7 +142,8 @@ defmodule Pleroma.Web.CommonAPI do make_content_html( status, attachments, - data + data, + visibility ), {to, cc} <- to_for_user_and_mentions(user, mentions, in_reply_to, visibility), context <- make_context(in_reply_to), |