mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 08:26:11 +00:00
util: Replace util.set_message_topic().
Replace `util.set_message_topic(message, topic)` with `message.topic = topic`. Fixes #13931
This commit is contained in:
committed by
showell
parent
efda2684ea
commit
a05f633fc1
@@ -252,10 +252,6 @@ exports.get_reload_topic = function (obj) {
|
||||
return obj.topic || obj.subject || '';
|
||||
};
|
||||
|
||||
exports.set_message_topic = function (obj, topic) {
|
||||
obj.topic = topic;
|
||||
};
|
||||
|
||||
exports.get_edit_event_topic = function (obj) {
|
||||
if (obj.topic === undefined) {
|
||||
return obj.subject;
|
||||
|
||||
Reference in New Issue
Block a user