[manual] Unify huddles and personals into private messages on the receive path
feedback-bot and zephyr_mirror will need to be updated and restarted when this is deployed to prod. (imported from commit fe2b524424c174bcb1b717a851a5d3815fda3f69)
This commit is contained in:
parent
6d8519bc5d
commit
b945113867
2 changed files with 11 additions and 12 deletions
|
@ -18,7 +18,7 @@ staging_client = humbug.Client(
|
|||
site="https://staging.humbughq.com")
|
||||
|
||||
def forward_message(message):
|
||||
if message["type"] != "personal":
|
||||
if message["type"] != "private" or len(message["recipient"]) != 2:
|
||||
return
|
||||
forwarded_message = {
|
||||
"type": "stream",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue