REFACTOR: Remove `Discourse.SiteSettings` from reply adapter

REFACTOR: Remove Discourse.SiteSettings from reply adapter

diff --git a/app/assets/javascripts/discourse/app/adapters/post-reply-history.js b/app/assets/javascripts/discourse/app/adapters/post-reply-history.js
index b90cfbb..8255414 100644
--- a/app/assets/javascripts/discourse/app/adapters/post-reply-history.js
+++ b/app/assets/javascripts/discourse/app/adapters/post-reply-history.js
@@ -3,7 +3,7 @@ import RestAdapter from "discourse/adapters/rest";
 
 export default RestAdapter.extend({
   find(store, type, findArgs) {
-    const maxReplies = Discourse.SiteSettings.max_reply_history;
+    const maxReplies = this.siteSettings.max_reply_history;
     return ajax(
       `/posts/${findArgs.postId}/reply-history?max_replies=${maxReplies}`
     ).then(replies => {

GitHub sha: f5adf6d1

This commit appears in #10280 which was merged by eviltrout.