Mastodon: Fixed 'read long posts in GUI'. Now it should work as expected

This commit is contained in:
Manuel Cortez 2024-11-26 22:57:21 -06:00
parent 002d0a5709
commit 021dd0ae52

View File

@ -407,7 +407,7 @@ class BaseBuffer(base.Buffer):
ts = original_date.humanize(locale=languageHandler.getLanguage())
self.buffer.list.list.SetItem(self.buffer.list.get_selected(), 2, ts)
if config.app["app-settings"]["read_long_posts_in_gui"] == True and self.buffer.list.list.HasFocus():
output.speak(self.get_message(), interrupt=True)
wx.CallLater(20, output.speak, self.get_message(), interrupt=True)
if self.session.settings['sound']['indicate_audio'] and utils.is_audio_or_video(post):
self.session.sound.play("audio.ogg")
if self.session.settings['sound']['indicate_img'] and utils.is_image(post):