diff --git a/webserver.py b/webserver.py
index 22f1876e..41ad70c6 100644
--- a/webserver.py
+++ b/webserver.py
@@ -415,7 +415,8 @@ def hooks_github():
# TODO: add secret check
message = f"🐙 Nuovi aggiornamenti a Royalnet:\n"
for commit in j.get("commits", []):
- message += f'{commit["message"]} di {commit["author"]}\n'
+ if commit["distinct"]:
+ message += f'{commit["message"]} di {commit["author"]}\n'
telegram_bot.send_message(config["Telegram"]["main_group"], message,
parse_mode="HTML", disable_web_page_preview=True, disable_notification=True)
return "Done."