Explorar o código

Merge branch 'dev_1.1.1' of https://git.yishihui.com/DeNet/de-net into dev_1.1.1

zhangwei %!s(int64=2) %!d(string=hai) anos
pai
achega
47257ff9ec
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      src/logic/content/twitter.js

+ 8 - 0
src/logic/content/twitter.js

@@ -762,6 +762,14 @@ export function initExecuteScript(changes) {
             init()
         }
     }
+    if (changes.userInfo) {
+        let item = JSON.parse(changes.userInfo.newValue)
+        if (item) {
+            checkUserJoinGroup(() => {
+                showNFTGroupIcon()
+            })
+        }
+    }
 }
 
 const createNFTIframe = ({ url, id }, callback) => {