mirror of
https://github.com/jtomchak/akkoma.git
synced 2025-01-31 20:09:08 +01:00
common api: set directMessage flag on our own posts
This commit is contained in:
parent
75bb663749
commit
9adc80afff
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ defmodule Pleroma.Web.CommonAPI do
|
||||||
actor: user,
|
actor: user,
|
||||||
context: context,
|
context: context,
|
||||||
object: object,
|
object: object,
|
||||||
additional: %{"cc" => cc}
|
additional: %{"cc" => cc, "directMessage" => visibility == "direct"}
|
||||||
})
|
})
|
||||||
|
|
||||||
res
|
res
|
||||||
|
|
Loading…
Reference in a new issue