Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

muted_users: Re-render typing notifications on mute state change.

Aman Agrawal6ac2c7ccf096
diff --git a/web/src/muted_users_ui.ts b/web/src/muted_users_ui.ts
index b5dc4a16517..2dc8ae0f3c8 100644
--- a/web/src/muted_users_ui.ts
+++ b/web/src/muted_users_ui.ts
@@ -7,6 +7,7 @@ import * as pm_list from "./pm_list.ts";
import * as popovers from "./popovers.ts";
import * as recent_view_ui from "./recent_view_ui.ts";
import * as settings_muted_users from "./settings_muted_users.ts";
+import * as typing_events from "./typing_events.ts";
export function rerender_for_muted_user(): void {
for (const msg_list of message_lists.all_rendered_message_lists()) {
@@ -20,6 +21,8 @@ export function rerender_for_muted_user(): void {
activity_ui.redraw();
pm_list.update_private_messages();
+ typing_events.render_notifications_for_narrow();
+
// If a user is (un)muted, we want to update their avatars on the Recent Conversations
// participants column.
recent_view_ui.complete_rerender();