mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
gitter/slack/hipchat: Remove "subject" from conversions.
We (lexically) remove "subject" from the conversion code. The `build_message` helper calls `set_topic_name` under the hood, so things still have "subject" in the JSON. There was good code coverage on `build_message`.
This commit is contained in:
@@ -32,6 +32,10 @@ MATCH_TOPIC = "match_subject"
|
||||
# unless we do a pretty tricky migration.
|
||||
LEGACY_PREV_TOPIC = "prev_subject"
|
||||
|
||||
# This constant is pretty closely coupled to the
|
||||
# database, but it's the JSON field.
|
||||
EXPORT_TOPIC_NAME = "subject"
|
||||
|
||||
# This is used in low-level message functions in
|
||||
# zerver/lib/message.py, and it's not user facing.
|
||||
DB_TOPIC_NAME = "subject"
|
||||
|
||||
Reference in New Issue
Block a user