zephyr_mirror: Fix detection of personals.
(imported from commit 1fc9050bad36dc15e76f65bdb6532e3e7e601a40)
This commit is contained in:
parent
37c837904f
commit
28d98729a5
|
@ -462,7 +462,7 @@ def forward_to_zephyr(message):
|
||||||
zephyr_class = "message"
|
zephyr_class = "message"
|
||||||
zwrite_args.extend(["-c", zephyr_class, "-i", instance])
|
zwrite_args.extend(["-c", zephyr_class, "-i", instance])
|
||||||
elif message['type'] == "private":
|
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"])
|
recipient = to_zephyr_username(message["display_recipient"][0]["email"])
|
||||||
zwrite_args.extend([recipient])
|
zwrite_args.extend([recipient])
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue