Skip to content

Commit

Permalink
Use inline URL for sender text
Browse files Browse the repository at this point in the history
  • Loading branch information
Electronic-Mango committed Nov 17, 2024
1 parent a3eb3c1 commit a526a2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/bot/sender.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def _format_message(
message_text = f"{title}" if title else ""
message_text += f"\n\n{description}" if description else ""
sender_text = "\n\n" if len(message_text) else ""
sender_text += f"By <b>{feed_name}</b> on {feed_type}:\n{link}"
sender_text += f"<a href='{link}'>By <b>{feed_name}</b> on {feed_type}</a>"
message_text = _trim_message(chat_id, message_text, len(sender_text))
message_text += sender_text
return message_text
Expand Down

0 comments on commit a526a2b

Please sign in to comment.