mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 01:16:19 +00:00
Fix collapsing of huddle messages.
(imported from commit 31391a278f5fe70ab56379bf7cc3fad2d0663007)
This commit is contained in:
@@ -665,7 +665,7 @@ function add_to_tables(zephyr, parent, table_name) {
|
|||||||
|
|
||||||
if (parent !== undefined &&
|
if (parent !== undefined &&
|
||||||
zephyr.type === parent.type && (
|
zephyr.type === parent.type && (
|
||||||
(zephyr.is_huddle) && (parent.name === zephyr.name) ||
|
(zephyr.is_huddle) && (get_huddle_recipient(parent) === get_huddle_recipient(zephyr)) ||
|
||||||
(zephyr.is_personal) && (parent.reply_to === zephyr.reply_to) ||
|
(zephyr.is_personal) && (parent.reply_to === zephyr.reply_to) ||
|
||||||
((zephyr.is_class) && (parent.display_recipient === zephyr.display_recipient) &&
|
((zephyr.is_class) && (parent.display_recipient === zephyr.display_recipient) &&
|
||||||
(parent.instance === zephyr.instance))
|
(parent.instance === zephyr.instance))
|
||||||
|
|||||||
Reference in New Issue
Block a user