Преглед на файлове

[bug][发帖未屏蔽 #DNFT 和 ↓]

zhangwei преди 2 години
родител
ревизия
ed444c7e77
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/logic/content/twitter.js

+ 1 - 1
src/logic/content/twitter.js

@@ -1319,7 +1319,7 @@ function publishNFTTweetEvent({ groupId, postId, srcContent }) {
             let arr = srcContent.split(' ') || []
 
             arr.forEach((item) => {
-                if (textContent.includes(item)) {
+                if (textContent.includes(item) || item.includes('#DNFT') || item.includes('⬇️')) {
                     textContent = textContent.replaceAll(item, '')
                 }
             })