actions: Split out zerver.actions.message_edit.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2022-04-14 14:55:52 -07:00
parent 5d1a5a3877
commit eda000899b
14 changed files with 1133 additions and 1115 deletions

View File

@@ -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/lib/actions.py.
// Compare maybe_send_resolve_topic_notifications in zerver/actions/message_edit.py.
const RESOLVED_TOPIC_PREFIX_RE = /^✔ [ ✔]*/;
export function is_resolved(topic_name) {