bookend: Add stream icons to subscribed/unsubscribed divider line.

Fixes: #23685.
This commit is contained in:
Akarsh Jain
2022-11-29 22:09:59 +05:30
committed by Tim Abbott
parent 047bffe257
commit 3e6f34780a
5 changed files with 34 additions and 3 deletions

View File

@@ -1379,6 +1379,8 @@ export class MessageListView {
just_unsubscribed,
can_toggle_subscription,
is_spectator,
invite_only,
is_web_public,
) {
// This is not the only place we render bookends; see also the
// partial in message_group.hbs, which do not set is_trailing_bookend.
@@ -1391,6 +1393,8 @@ export class MessageListView {
just_unsubscribed,
is_spectator,
is_trailing_bookend: true,
invite_only,
is_web_public,
}),
);
rows.get_table(this.table_name).append($rendered_trailing_bookend);