recent_topics: Renaming confusingly named deletion handlers.

This functions were oddly named in a way that didn't make clear their
role in handling deleted messages.
This commit is contained in:
Tim Abbott
2020-08-06 12:00:28 -07:00
parent 5142bdd317
commit beae13b4d6
5 changed files with 7 additions and 7 deletions

View File

@@ -234,7 +234,7 @@ exports.topic_in_search_results = function (keyword, stream, topic) {
return search_words.every((word) => text.includes(word));
};
exports.update_topics_of_message_ids = function (message_ids) {
exports.update_topics_of_deleted_message_ids = function (message_ids) {
const topics_to_rerender = new Map();
for (const msg_id of message_ids) {
const message = message_store.get(msg_id);