copying language when reply

This commit is contained in:
localhost_frssoft 2023-11-10 02:34:00 +03:00
parent 6a233f6cb2
commit 14898fea07
3 changed files with 5 additions and 1 deletions

View file

@ -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,
},
}
}