mirror of
https://github.com/zulip/zulip.git
synced 2026-06-21 21:32:29 +08:00
Rename util.get_topic -> get_message_topic().
The specific name will help us when we fully cut over to "topic" on message objects.
This commit is contained in:
parent
2fdb44803d
commit
4b2181ffa2
@ -307,7 +307,7 @@ exports.respond_to_message = function (opts) {
|
||||
var topic = '';
|
||||
if (message.type === "stream") {
|
||||
stream = message.stream;
|
||||
topic = util.get_topic(message);
|
||||
topic = util.get_message_topic(message);
|
||||
}
|
||||
|
||||
var pm_recipient = message.reply_to;
|
||||
|
||||
@ -307,7 +307,7 @@ exports.set_topic = function (obj, topic) {
|
||||
obj.subject = topic;
|
||||
};
|
||||
|
||||
exports.get_topic = function (obj) {
|
||||
exports.get_message_topic = function (obj) {
|
||||
return obj.subject;
|
||||
};
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user