From: William Pitcock Date: Sun, 23 Dec 2018 15:26:07 +0000 (+0000) Subject: common api: set directMessage flag on our own posts X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=9adc80afff5ea42e1773c6ada5e078ec6c1cadc8;p=akkoma common api: set directMessage flag on our own posts --- diff --git a/lib/pleroma/web/common_api/common_api.ex b/lib/pleroma/web/common_api/common_api.ex index 504670439..7084da6de 100644 --- a/lib/pleroma/web/common_api/common_api.ex +++ b/lib/pleroma/web/common_api/common_api.ex @@ -143,7 +143,7 @@ defmodule Pleroma.Web.CommonAPI do actor: user, context: context, object: object, - additional: %{"cc" => cc} + additional: %{"cc" => cc, "directMessage" => visibility == "direct"} }) res