fixed visibility settings when sending replies

This commit is contained in:
Manuel Cortez 2022-11-18 13:40:02 -06:00
parent 71ca547abe
commit 39fb5b4830
No known key found for this signature in database
GPG Key ID: 9E0735CA15EFE790

View File

@ -316,7 +316,7 @@ class BaseBuffer(base.Buffer):
response = post.message.ShowModal() response = post.message.ShowModal()
if response == wx.ID_OK: if response == wx.ID_OK:
post_data = post.get_data() post_data = post.get_data()
call_threaded(self.session.send_post, reply_to=item.id, posts=post_data, visibility=visibility) call_threaded(self.session.send_post, reply_to=item.id, posts=post_data, visibility=post.get_visibility())
if hasattr(post.message, "destroy"): if hasattr(post.message, "destroy"):
post.message.destroy() post.message.destroy()