From 2bdc02a10f5ab283f00c08cb1628284ab41adc31 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Tue, 6 Nov 2012 15:17:53 -0500 Subject: [PATCH] feedback-bot: Only forward messages sent directly to feedback@. (imported from commit 4a4d1e4a3ba00deb929647f7f35f2982c2b4add6) --- bots/feedback-bot | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bots/feedback-bot b/bots/feedback-bot index 28efff7..1b2bc85 100755 --- a/bots/feedback-bot +++ b/bots/feedback-bot @@ -15,6 +15,8 @@ staging_client = api.common.HumbugAPI(email="feedback@humbughq.com", site="https://staging.humbughq.com") def forward_message(message): + if message["type"] != "personal": + return forwarded_message = { "type": "stream", "stream": "support",