mastodon: Language should be automatically suggested for posts during creation, replies or when recovering from an error

This commit is contained in:
2024-12-31 18:51:00 -06:00
parent 0322939cba
commit 6b97c5123f
4 changed files with 14 additions and 11 deletions

View File

@@ -126,7 +126,7 @@ class NotificationsBuffer(BaseBuffer):
response = post.message.ShowModal()
if response == wx.ID_OK:
post_data = post.get_data()
call_threaded(self.session.send_post, posts=post_data, visibility="direct")
call_threaded(self.session.send_post, posts=post_data, visibility="direct", language=post.get_language())
if hasattr(post.message, "destroy"):
post.message.destroy()