mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +00:00
topic_data: Rename topic_data module to stream_topic_history.
`stream_topic_history` is a more appropriate name as this module will contain information about last message of a stream in upcoming commits. Function and variable names are changed accordingly like: * topic_history() -> per_stream_history() * get_recent_names() -> get_recent_topic_names() * name -> topic_name
This commit is contained in:
committed by
Tim Abbott
parent
c5eddcb1ca
commit
ee0d4541b4
@@ -169,7 +169,7 @@ exports.add_message_metadata = function (message) {
|
||||
message.stream = message.display_recipient;
|
||||
message.reply_to = message.sender_email;
|
||||
|
||||
topic_data.add_message({
|
||||
stream_topic_history.add_message({
|
||||
stream_id: message.stream_id,
|
||||
topic_name: message.topic,
|
||||
message_id: message.id,
|
||||
|
||||
Reference in New Issue
Block a user