mirror of
https://github.com/zulip/zulip.git
synced 2025-11-12 01:47:41 +00:00
zephyr_mirror: Support empty zsigs.
(imported from commit 6a9fd78d928ebbc9442b3f99d2730f09309556bb)
This commit is contained in:
@@ -195,7 +195,11 @@ def process_loop(log):
|
||||
continue
|
||||
|
||||
def process_notice(notice, log):
|
||||
zsig, body = notice.message.split("\x00", 1)
|
||||
try:
|
||||
zsig, body = notice.message.split("\x00", 1)
|
||||
except ValueError:
|
||||
body = notice.message
|
||||
zsig = ""
|
||||
is_personal = False
|
||||
is_huddle = False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user