diff --git a/app/assets/javascripts/discourse/controllers/topic_controller.js b/app/assets/javascripts/discourse/controllers/topic_controller.js index c6bdf654fac..da9a63c7345 100644 --- a/app/assets/javascripts/discourse/controllers/topic_controller.js +++ b/app/assets/javascripts/discourse/controllers/topic_controller.js @@ -400,7 +400,7 @@ Discourse.TopicController = Discourse.ObjectController.extend(Discourse.Selected if (data.type === "revised" || data.type === "acted"){ // TODO we could update less data for "acted" // (only post actions) - postStream.triggerChangedPost(data.id, data.updated_at, data.type); + postStream.triggerChangedPost(data.id, data.updated_at); return; } diff --git a/app/assets/javascripts/discourse/models/post_stream.js b/app/assets/javascripts/discourse/models/post_stream.js index 1340683864a..4179812ffc5 100644 --- a/app/assets/javascripts/discourse/models/post_stream.js +++ b/app/assets/javascripts/discourse/models/post_stream.js @@ -504,7 +504,7 @@ Discourse.PostStream = Em.Object.extend({ } }, - triggerChangedPost: function(postId, updatedAt, type) { + triggerChangedPost: function(postId, updatedAt) { if (!postId) { return; } var postIdentityMap = this.get('postIdentityMap'),