From 28d98729a534d4fee3be5a2a4c98727c12e1c4bd Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Wed, 5 Dec 2012 12:35:43 -0500 Subject: [PATCH] zephyr_mirror: Fix detection of personals. (imported from commit 1fc9050bad36dc15e76f65bdb6532e3e7e601a40) --- bots/zephyr_mirror_backend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bots/zephyr_mirror_backend.py b/bots/zephyr_mirror_backend.py index c776021..dc5b3ee 100755 --- a/bots/zephyr_mirror_backend.py +++ b/bots/zephyr_mirror_backend.py @@ -462,7 +462,7 @@ def forward_to_zephyr(message): zephyr_class = "message" zwrite_args.extend(["-c", zephyr_class, "-i", instance]) elif message['type'] == "private": - if len(message['display_recipient']) == 1: + if len(message['display_recipient']) <= 2: recipient = to_zephyr_username(message["display_recipient"][0]["email"]) zwrite_args.extend([recipient]) else: