Skip to content

Commit

Permalink
bot messages format
Browse files Browse the repository at this point in the history
  • Loading branch information
andreipradan committed Jan 29, 2024
1 parent e7329fe commit cfb0219
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/bots/webhooks/inlines/saved_messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def get_markup(self, page=1, is_top_level=False, last_page=None):
[
[
Button(
f"{item.chat_title}{not item.text and ' ❌'} by {item.author['full_name']}\n{item.date.strftime('%d %b %Y')}",
f"{item.chat_title}{' ❌' if not item.text else ''} by {item.author['full_name']}\n{item.date.strftime('%d %b %Y')}",
callback_data=f"fetch {self.chat_id} {item.id} {page}",
)
]
Expand Down

0 comments on commit cfb0219

Please sign in to comment.