Arreglar alt y mostrar la home, que desaparecía.

This commit is contained in:
Jesús Pavón Abián
2026-06-11 08:40:48 +02:00
parent a82bdf8fa9
commit 30d82d8d12
8 changed files with 47 additions and 6 deletions
+2 -2
View File
@@ -804,12 +804,12 @@ class BaseBuffer(base.Buffer):
try:
if self.type == "notifications":
template = template_settings.get("notification", "$display_name $text, $date")
post_template = template_settings.get("post", "$display_name, $reply_to$safe_text $date.")
post_template = template_settings.get("post", "$display_name, $reply_to$safe_text $image_descriptions $date.")
return templates.render_notification(item, template, post_template, self.session.settings, relative_times, offset_hours)
if self.type in ("user", "post_user_list"):
template = template_settings.get("person", "$display_name (@$screen_name). $followers followers, $following following, $posts posts. Joined $created_at.")
return templates.render_user(item, template, self.session.settings, relative_times, offset_hours)
template = template_settings.get("post", "$display_name, $reply_to$safe_text $date.")
template = template_settings.get("post", "$display_name, $reply_to$safe_text $image_descriptions $date.")
return templates.render_post(item, template, self.session.settings, relative_times, offset_hours)
except Exception:
# Fallback to compose if any template render fails.