diff options
author | lain <lain@soykaf.club> | 2019-08-05 15:33:22 +0200 |
---|---|---|
committer | lain <lain@soykaf.club> | 2019-08-05 15:33:22 +0200 |
commit | b64b6fee2a78fbfbc557b89550128494ca7d2894 (patch) | |
tree | 9fc2d60777a8d158d455350df33cb9cce169cd0e /lib/pleroma/web/common_api/common_api.ex | |
parent | 3af6d14da769aa5adfdd6360b43c691fd8c8eed5 (diff) | |
download | pleroma-b64b6fee2a78fbfbc557b89550128494ca7d2894.tar.gz |
CommonAPI: Replies to conversations also get the correct context id.
Diffstat (limited to 'lib/pleroma/web/common_api/common_api.ex')
-rw-r--r-- | lib/pleroma/web/common_api/common_api.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/common_api/common_api.ex b/lib/pleroma/web/common_api/common_api.ex index 86e95cd0f..72da46263 100644 --- a/lib/pleroma/web/common_api/common_api.ex +++ b/lib/pleroma/web/common_api/common_api.ex @@ -223,7 +223,7 @@ defmodule Pleroma.Web.CommonAPI do {poll, poll_emoji} <- make_poll_data(data), {to, cc} <- get_to_and_cc(user, addressed_users, in_reply_to, visibility, in_reply_to_conversation), - context <- make_context(in_reply_to), + context <- make_context(in_reply_to, in_reply_to_conversation), cw <- data["spoiler_text"] || "", sensitive <- data["sensitive"] || Enum.member?(tags, {"#nsfw", "nsfw"}), full_payload <- String.trim(status <> cw), |