mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-27 07:01:36 +01:00
This commit is contained in:
parent
1ae5d49a71
commit
7ca173be47
1 changed files with 2 additions and 1 deletions
|
@ -27,9 +27,10 @@ class PostStatusService < BaseService
|
||||||
thread: in_reply_to,
|
thread: in_reply_to,
|
||||||
sensitive: options[:sensitive],
|
sensitive: options[:sensitive],
|
||||||
spoiler_text: options[:spoiler_text] || '',
|
spoiler_text: options[:spoiler_text] || '',
|
||||||
visibility: options[:visibility],
|
visibility: options[:visibility] || account.user&.setting_default_privacy,
|
||||||
language: detect_language_for(text, account),
|
language: detect_language_for(text, account),
|
||||||
application: options[:application])
|
application: options[:application])
|
||||||
|
|
||||||
attach_media(status, media)
|
attach_media(status, media)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue