mirror of https://github.com/zulip/zulip.git
Fix collapsing of huddle messages.
(imported from commit 31391a278f5fe70ab56379bf7cc3fad2d0663007)
This commit is contained in:
parent
f960c21931
commit
12013cd7b7
|
@ -665,7 +665,7 @@ function add_to_tables(zephyr, parent, table_name) {
|
|||
|
||||
if (parent !== undefined &&
|
||||
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_class) && (parent.display_recipient === zephyr.display_recipient) &&
|
||||
(parent.instance === zephyr.instance))
|
||||
|
|
Loading…
Reference in New Issue