mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-26 04:48:09 -06:00
Make sure item ID is included when composing a dm in mastodon
This commit is contained in:
parent
8d2fb59ba8
commit
bf4c7ff7c7
@ -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()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user