mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 22:43:42 +00:00
digest: Fix the structure that we enqueue across when digesting.
This rename was missed in bfa0bdf3d6.
Without this fix, digest messages fail to send.
This commit is contained in:
@@ -88,7 +88,7 @@ def should_process_digest(realm_str: str) -> bool:
|
||||
def queue_digest_user_ids(user_ids: List[int], cutoff: datetime.datetime) -> None:
|
||||
# Convert cutoff to epoch seconds for transit.
|
||||
event = {
|
||||
"user_profile_id": user_ids,
|
||||
"user_ids": user_ids,
|
||||
"cutoff": cutoff.strftime('%s')
|
||||
}
|
||||
queue_json_publish("digest_emails", event)
|
||||
|
||||
Reference in New Issue
Block a user