mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 23:43:43 +00:00
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:
committed by
Tim Abbott
parent
a9b6d9990a
commit
eb5832f7a4
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user