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:
Steve Howell
2020-02-14 12:39:04 +00:00
parent 39405fccdc
commit cb91b7f312
6 changed files with 25 additions and 34 deletions

View File

@@ -182,7 +182,7 @@ function populate_group_from_message_container(group, message_container) {
group.display_reply_to = message_store.get_pm_full_names(message_container.msg);
}
group.display_recipient = message_container.msg.display_recipient;
group.topic_links = util.get_topic_links(message_container.msg);
group.topic_links = message_container.msg.topic_links;
set_topic_edit_properties(group, message_container.msg);
render_group_display_date(group, message_container);