mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2025-05-10 13:58:46 +00:00
copying language when reply
This commit is contained in:
parent
6a233f6cb2
commit
14898fea07
3 changed files with 5 additions and 1 deletions
|
@ -362,6 +362,8 @@ func (s *service) ThreadPage(c *client, id string, reply bool) (err error) {
|
|||
visibility = c.s.Settings.DefaultVisibility
|
||||
}
|
||||
|
||||
replyLanguage := status.Language
|
||||
|
||||
pctx = model.PostContext{
|
||||
DefaultVisibility: visibility,
|
||||
DefaultFormat: c.s.Settings.DefaultFormat,
|
||||
|
@ -372,6 +374,7 @@ func (s *service) ThreadPage(c *client, id string, reply bool) (err error) {
|
|||
ReplySpoiler: spoilerText,
|
||||
ReplyContent: content,
|
||||
ForceVisibility: isDirect,
|
||||
ReplyLanguage: replyLanguage,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue