subject -> topic: Sweep "message.subject" in frontend.

These were the last remaining files.  After this, only
util.js has a non-email-related use of "subject".
This commit is contained in:
Steve Howell
2018-12-23 15:01:30 +00:00
committed by Tim Abbott
parent 7e17b8a392
commit 1ad30c6858
12 changed files with 27 additions and 21 deletions

View File

@@ -166,7 +166,7 @@ MessageListData.prototype = {
unmuted_messages: function (messages) {
return _.reject(messages, function (message) {
return muting.is_topic_muted(message.stream_id, message.subject) &&
return muting.is_topic_muted(message.stream_id, util.get_message_topic(message)) &&
!message.mentioned;
});
},