DEV: Fix `linkSeenMentions` deprecations (#149)

DEV: Fix linkSeenMentions deprecations (#149)

It prefers a DOM Element instead of jQuery object now.

diff --git a/assets/javascripts/discourse/initializers/decrypt-posts.js b/assets/javascripts/discourse/initializers/decrypt-posts.js
index b5a4594..cbad46b 100644
--- a/assets/javascripts/discourse/initializers/decrypt-posts.js
+++ b/assets/javascripts/discourse/initializers/decrypt-posts.js
@@ -205,7 +205,7 @@ function postProcessPost(siteSettings, topicId, post) {
   const $post = $(post);
 
   // Paint mentions
-  const unseenMentions = linkSeenMentions($post, siteSettings);
+  const unseenMentions = linkSeenMentions(post, siteSettings);
   if (unseenMentions.length > 0) {
     if (!mentionsQueues[topicId]) {
       mentionsQueues[topicId] = new DebouncedQueue(500, (items) =>
@@ -214,7 +214,7 @@ function postProcessPost(siteSettings, topicId, post) {
     }
     mentionsQueues[topicId]
       .push(...unseenMentions)
-      .then(() => linkSeenMentions($post, siteSettings));
+      .then(() => linkSeenMentions(post, siteSettings));
   }
 
   // Paint category and tag hashtags

GitHub sha: 98a4e6218734b962a63ff76c74e6825106bd1c0a

This commit appears in #149 which was approved by pmusaraj. It was merged by CvX.