util: Replace util.set_message_topic().

Replace `util.set_message_topic(message, topic)` with `message.topic =
topic`.

Fixes #13931
This commit is contained in:
shubhamgupta2956
2020-02-19 07:14:17 +05:30
committed by showell
parent efda2684ea
commit a05f633fc1
7 changed files with 7 additions and 13 deletions

View File

@@ -125,7 +125,7 @@ exports.do_set_reminder_for_message = function (message_id, timestamp) {
sender_id: page_params.user_id,
stream: '',
};
util.set_message_topic(reminder_message, '');
reminder_message.topic = '';
const recipient = page_params.email;
const emails = util.extract_pm_recipients(recipient);