mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 08:56:10 +00:00
Extract topic_data.js.
This new module tracks the recent topic names for any given stream. The code was pulled over almost verbatim from stream_data.js, with minor renames to the function names. We introduced a minor one-line function called stream_has_topics.
This commit is contained in:
@@ -150,7 +150,7 @@ exports.add_message_metadata = function (message) {
|
||||
composebox_typeahead.add_topic(message.stream, message.subject);
|
||||
message.reply_to = message.sender_email;
|
||||
|
||||
stream_data.process_message_for_recent_topics(message);
|
||||
topic_data.process_message(message);
|
||||
exports.set_topic_edit_properties(message);
|
||||
|
||||
recent_senders.process_message_for_senders(message);
|
||||
|
||||
Reference in New Issue
Block a user