actions: Split out zerver.actions.message_edit.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
(cherry picked from commit eda000899b)
This commit is contained in:
Anders Kaseorg
2022-04-14 14:55:52 -07:00
committed by Tim Abbott
parent a9b6d9990a
commit eb5832f7a4
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) {