mirror of
https://github.com/zulip/zulip.git
synced 2026-06-24 21:08:25 +08:00
message_sender: Use response_data variable.
response_data already contains the result of ujson.loads.
This commit is contained in:
parent
0e8231d0f1
commit
ee6e07d13f
@ -380,7 +380,7 @@ class MessageSenderWorker(QueueProcessingWorker):
|
||||
if response_data['result'] == 'error':
|
||||
check_and_send_restart_signal()
|
||||
|
||||
result = {'response': ujson.loads(resp_content), 'req_id': event['req_id'],
|
||||
result = {'response': response_data, 'req_id': event['req_id'],
|
||||
'server_meta': server_meta}
|
||||
|
||||
redis_key = req_redis_key(event['req_id'])
|
||||
|
||||
Loading…
Reference in New Issue
Block a user