message_list_view: Cleanup unused bookend code.

`bookend_top` is already defined firmly for `group` in
`add_subscription_marker`, so no need to redefine it.

`bookend_bottom` is no longer used anywhere in the codebase. Not
sure what the history is here.
This commit is contained in:
Aman Agrawal 2022-01-29 08:28:51 +00:00 committed by Tim Abbott
parent 93a03dcf3a
commit 8f2e973ab2
2 changed files with 0 additions and 7 deletions

View File

@ -466,7 +466,6 @@ export class MessageListView {
this.list !== message_lists.home &&
last_msg_container.msg.historical !== first_msg_container.msg.historical
) {
second_group.bookend_top = true;
this.add_subscription_marker(second_group, last_msg_container, first_msg_container);
}
return false;

View File

@ -2,7 +2,6 @@
{{#each message_groups}}
{{#with this}}
{{#if show_group_date_divider}}
<div class="date_row no-select">{{{group_date_divider_html}}}</div>
{{/if}}
@ -19,10 +18,5 @@
{{/with}}
{{/each}}
</div>
{{#if bookend_bottom}}
{{> bookend}}
{{/if}}
{{/with}}
{{/each}}