Make sure item ID is included when composing a dm in mastodon

This commit is contained in:
Manuel Cortez 2022-11-24 15:28:39 -06:00
parent 8d2fb59ba8
commit bf4c7ff7c7
No known key found for this signature in database
GPG Key ID: 9E0735CA15EFE790

View File

@ -337,7 +337,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, posts=post_data, visibility="direct") call_threaded(self.session.send_post, posts=post_data, visibility="direct", reply_to=item.id)
if hasattr(post.message, "destroy"): if hasattr(post.message, "destroy"):
post.message.destroy() post.message.destroy()