mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
eslint: Fix unicorn/consistent-destructuring.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
6cd694b8e3
commit
2e501c8667
@@ -314,7 +314,7 @@ class CommonUtils {
|
|||||||
async send_message(page, type, params) {
|
async send_message(page, type, params) {
|
||||||
// If a message is outside the view, we do not need
|
// If a message is outside the view, we do not need
|
||||||
// to wait for it to be processed later.
|
// to wait for it to be processed later.
|
||||||
const {outside_view} = params;
|
const outside_view = params.outside_view;
|
||||||
delete params.outside_view;
|
delete params.outside_view;
|
||||||
|
|
||||||
// Compose box content should be empty before sending the message.
|
// Compose box content should be empty before sending the message.
|
||||||
|
|||||||
@@ -147,7 +147,7 @@ exports.update_messages = function update_messages(events) {
|
|||||||
|
|
||||||
const new_topic = util.get_edit_event_topic(event);
|
const new_topic = util.get_edit_event_topic(event);
|
||||||
|
|
||||||
const {new_stream_id} = event;
|
const new_stream_id = event.new_stream_id;
|
||||||
|
|
||||||
// A topic edit may affect multiple messages, listed in
|
// A topic edit may affect multiple messages, listed in
|
||||||
// event.message_ids. event.message_id is still the first message
|
// event.message_ids. event.message_id is still the first message
|
||||||
|
|||||||
Reference in New Issue
Block a user