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.

resolved_topic: Fix comment on RESOLVED_TOPIC_PREFIX_RE.

Sahil Batra8bbf7c2a9a85
diff --git a/web/src/resolved_topic.ts b/web/src/resolved_topic.ts
index 0fe9ab2ff4a..29132d220eb 100644
--- a/web/src/resolved_topic.ts
+++ b/web/src/resolved_topic.ts
@@ -8,7 +8,7 @@ export const RESOLVED_TOPIC_PREFIX = "✔ ";
*/
// The class has the same characters as RESOLVED_TOPIC_PREFIX.
// It's designed to remove a weird "✔ ✔✔ " prefix, if present.
-// Compare maybe_send_resolve_topic_notifications in zerver/actions/message_edit.py.
+// Compare build_message_edit_request in zerver/actions/message_edit.py.
const RESOLVED_TOPIC_PREFIX_RE = /^✔ [ ✔]*/;
export function is_resolved(topic_name: string): boolean {