Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
alert_words: Reuse set_alert_words to better share code.
shashank-23002ebafe4d08f2c
diff --git a/web/src/alert_words.ts b/web/src/alert_words.tsindex 51102c0d22f..6b192452579 100644--- a/web/src/alert_words.ts+++ b/web/src/alert_words.ts@@ -87,5 +87,5 @@ export function notifies(message: Message): boolean {}export const initialize = (params: {alert_words: string[]}): void => {- my_alert_words = params.alert_words;+ set_words(params.alert_words);};