mirror of
https://github.com/zulip/zulip.git
synced 2025-11-08 16:01:58 +00:00
reactions: Destructure during make..reaction call from set..reaction.
This is a pure code refactor for readability.
This commit is contained in:
@@ -502,13 +502,7 @@ export function set_clean_reactions(message) {
|
|||||||
|
|
||||||
message.clean_reactions.set(
|
message.clean_reactions.set(
|
||||||
local_id,
|
local_id,
|
||||||
make_clean_reaction({
|
make_clean_reaction({local_id, user_ids, ...reaction}),
|
||||||
local_id,
|
|
||||||
user_ids,
|
|
||||||
reaction_type: reaction.reaction_type,
|
|
||||||
emoji_name: reaction.emoji_name,
|
|
||||||
emoji_code: reaction.emoji_code,
|
|
||||||
}),
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user