1
0
Fork 1
mirror of https://akkoma.dev/AkkomaGang/akkoma.git synced 2024-11-18 02:49:18 +00:00

common api: set directMessage flag on our own posts

This commit is contained in:
William Pitcock 2018-12-23 15:26:07 +00:00
parent 75bb663749
commit 9adc80afff

View file

@ -143,7 +143,7 @@ def post(user, %{"status" => status} = data) do
actor: user,
context: context,
object: object,
additional: %{"cc" => cc}
additional: %{"cc" => cc, "directMessage" => visibility == "direct"}
})
res