forked from mirrors/akkoma
common api: set directMessage flag on our own posts
This commit is contained in:
parent
75bb663749
commit
9adc80afff
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue