mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
util: Kill off set_topic_links/get_topic_links.
These functions were just shims that were
used in the somewhat painful migration from
subject_* to topic_*.
The commit 4572be8c27
fixed it so that the client never needs to
deal with "subject_links".
So now we just go back to simpler code:
message.topic_links = links
links = message.topic_links
This commit is contained in:
@@ -234,14 +234,6 @@ exports.sorted_ids = function (ids) {
|
||||
return id_list;
|
||||
};
|
||||
|
||||
exports.set_topic_links = function (obj, topic_links) {
|
||||
obj.topic_links = topic_links;
|
||||
};
|
||||
|
||||
exports.get_topic_links = function (obj) {
|
||||
return obj.topic_links;
|
||||
};
|
||||
|
||||
exports.set_match_data = function (target, source) {
|
||||
target.match_subject = source.match_subject;
|
||||
target.match_content = source.match_content;
|
||||
|
||||
Reference in New Issue
Block a user