Pārlūkot izejas kodu

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

zhangwei 2 gadi atpakaļ
vecāks
revīzija
ed444c7e77
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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, '')
                 }
             })