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:
Steve Howell 2018-12-22 17:06:31 +00:00 committed by Tim Abbott
parent 2fdb44803d
commit 4b2181ffa2
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;
};