mirror of https://github.com/zulip/zulip.git
Pass through local_id and sender_queue_id in non-rabbitmq case
(imported from commit 8989225a0943b39e45bd5debe405acb9768acc8c)
This commit is contained in:
parent
439633fd03
commit
7743aa191c
|
@ -237,7 +237,9 @@ def fake_message_sender(event):
|
|||
|
||||
msg_id = check_send_message(sender, client, req['type'],
|
||||
extract_recipients(req['to']),
|
||||
req['subject'], req['content'])
|
||||
req['subject'], req['content'],
|
||||
local_id=req.get('local_id', None),
|
||||
sender_queue_id=req.get('queue_id', None))
|
||||
resp = {"result": "success", "msg": "", "id": msg_id}
|
||||
except JsonableError as e:
|
||||
resp = {"result": "error", "msg": str(e)}
|
||||
|
|
Loading…
Reference in New Issue