refactor: Extract RESOLVED_TOPIC_PREFIX in topic.py.

This is a prep commit for #18990.
This commit is contained in:
akshatdalton
2021-07-13 07:37:57 +00:00
committed by Tim Abbott
parent db476bdc51
commit 7ec406f39d
3 changed files with 5 additions and 5 deletions

View File

@@ -158,6 +158,7 @@ from zerver.lib.timezone import canonicalize_timezone
from zerver.lib.topic import (
LEGACY_PREV_TOPIC,
ORIG_TOPIC,
RESOLVED_TOPIC_PREFIX,
TOPIC_LINKS,
TOPIC_NAME,
filter_by_exact_message_topic,
@@ -5697,9 +5698,6 @@ class MessageUpdateUserInfoResult(TypedDict):
mention_user_ids: Set[int]
RESOLVED_TOPIC_PREFIX = ""
def maybe_send_resolve_topic_notifications(
*,
user_profile: UserProfile,