feedback-bot: fix display_recipient typo that crashes the bot.
(imported from commit 79ec561fe60074b0eec23780c6d6977a64c86a00)
This commit is contained in:
parent
80075923ae
commit
9d41da3625
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue