mirror of https://github.com/zulip/zulip.git
Show the sender line again if there is a delay between messages.
(imported from commit fffdb5d5fb5804c44af24e8e8037a7b4af14833a)
This commit is contained in:
parent
0c3ace82d5
commit
fc71233b9a
|
@ -284,7 +284,9 @@ function add_to_table(zephyrs, table_name, filter_function, where) {
|
|||
}
|
||||
|
||||
zephyr.include_sender = true;
|
||||
if (same_sender(prev, zephyr) && !zephyr.include_recipient) {
|
||||
if (!zephyr.include_recipient &&
|
||||
same_sender(prev, zephyr) &&
|
||||
(Math.abs(zephyr.timestamp - prev.timestamp) < 60*10)) {
|
||||
zephyr.include_sender = false;
|
||||
ids_where_next_is_same_sender.push(prev.id);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue