fixed error when sending a tweet to someone in any people buffer

This commit is contained in:
Manuel Cortez 2022-05-26 05:26:02 -05:00
parent 018095752b
commit c89dff053d
2 changed files with 3 additions and 2 deletions

View File

@ -1,9 +1,10 @@
TWBlue Changelog TWBlue Changelog
## changes in this version ## changes in this version
* Fixed an issue that was making TWBlue to display incorrectly some retweets of quoted tweets.
* Implemented a new setting, available in the account settings dialog, that allows to hide emojis in twitter usernames. * Implemented a new setting, available in the account settings dialog, that allows to hide emojis in twitter usernames.
* Fixed error when attempting to mention an user by using the "mention" button in any people buffer. Now tweets should be posted normally.
* Fixed error when loading other user lists. ([#465](https://github.com/MCV-Software/TWBlue/issues/465)) * Fixed error when loading other user lists. ([#465](https://github.com/MCV-Software/TWBlue/issues/465))
* Fixed an issue that was making TWBlue to display incorrectly some retweets of quoted tweets.
## changes in version 22.2.23 ## changes in version 22.2.23

View File

@ -98,7 +98,7 @@ class PeopleBuffer(base.BaseBuffer):
message = messages.tweet(session=self.session, title=_("Mention"), caption=_("Mention to %s") % (screen_name,), text="@%s " % (screen_name,), thread_mode=False) message = messages.tweet(session=self.session, title=_("Mention"), caption=_("Mention to %s") % (screen_name,), text="@%s " % (screen_name,), thread_mode=False)
if message.message.ShowModal() == widgetUtils.OK: if message.message.ShowModal() == widgetUtils.OK:
tweet_data = message.get_tweet_data() tweet_data = message.get_tweet_data()
call_threaded(self.session.send_tweet, tweet_data) call_threaded(self.session.send_tweet, *tweet_data)
if hasattr(message.message, "destroy"): if hasattr(message.message, "destroy"):
message.message.destroy() message.message.destroy()