From 26e850e216e9b84865341b5aedaf617aa64ff821 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Mon, 7 Jan 2013 10:25:30 +0100 Subject: [PATCH] Show name of reaction in email summary. --- src/main/java/net/pterodactylus/reactor/triggers/NewTorrentTrigger.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/pterodactylus/reactor/triggers/NewTorrentTrigger.java b/src/main/java/net/pterodactylus/reactor/triggers/NewTorrentTrigger.java index f97002a..ab640c6 100644 --- a/src/main/java/net/pterodactylus/reactor/triggers/NewTorrentTrigger.java +++ b/src/main/java/net/pterodactylus/reactor/triggers/NewTorrentTrigger.java @@ -72,7 +72,7 @@ public class NewTorrentTrigger implements Trigger { */ @Override public Output output(Reaction reaction) { - DefaultOutput output = new DefaultOutput(String.format("Found %d new Torrent(s)!", torrentFiles.size())); + DefaultOutput output = new DefaultOutput(String.format("Found %d new Torrent(s) for “%s!”", torrentFiles.size(), reaction.name())); output.addText("text/plain", getPlainTextList(torrentFiles)); output.addText("text/html", getHtmlTextList(torrentFiles)); return output; -- 2.7.4