feedback-bot: fix display_recipient typo that crashes the bot.

(imported from commit 79ec561fe60074b0eec23780c6d6977a64c86a00)
This commit is contained in:
Jessica McKellar 2012-12-11 10:00:20 -05:00
parent 80075923ae
commit 9d41da3625

View file

@ -18,7 +18,7 @@ staging_client = humbug.Client(
site="https://staging.humbughq.com")
def forward_message(message):
if message["type"] != "private" or len(message["recipient"]) != 2:
if message["type"] != "private" or len(message["display_recipient"]) != 2:
return
forwarded_message = {
"type": "stream",