zephyr_mirror: do case-insensitive compare when checking for instanced personals
Users were seeing "[-i PERSONAL]" prepended to mirrored zephyrs. (imported from commit 82f1c93705f4000607ad8fd733c9fb5045619b10)
This commit is contained in:
parent
c68fb1f5ae
commit
2e69150790
|
@ -282,7 +282,7 @@ def process_notice(notice, log):
|
|||
zeph["subject"] = "personal"
|
||||
|
||||
# Add instances in for instanced personals
|
||||
if zeph['type'] == "personal" and notice.instance != "personal":
|
||||
if zeph['type'] == "personal" and notice.instance.lower() != "personal":
|
||||
zeph["content"] = "[-i %s]" % (notice.instance,) + "\n" + zeph["content"]
|
||||
|
||||
zeph = decode_unicode_byte_strings(zeph)
|
||||
|
|
Loading…
Reference in a new issue