feedback-bot: Only forward messages sent directly to feedback@.
(imported from commit 4a4d1e4a3ba00deb929647f7f35f2982c2b4add6)
This commit is contained in:
parent
db0a064c80
commit
2bdc02a10f
|
@ -15,6 +15,8 @@ staging_client = api.common.HumbugAPI(email="feedback@humbughq.com",
|
||||||
site="https://staging.humbughq.com")
|
site="https://staging.humbughq.com")
|
||||||
|
|
||||||
def forward_message(message):
|
def forward_message(message):
|
||||||
|
if message["type"] != "personal":
|
||||||
|
return
|
||||||
forwarded_message = {
|
forwarded_message = {
|
||||||
"type": "stream",
|
"type": "stream",
|
||||||
"stream": "support",
|
"stream": "support",
|
||||||
|
|
Loading…
Reference in a new issue