Browse Source

fix: 主播进入其他主播的主页也需要上报

陈文艺 5 months ago
parent
commit
59b9c413f7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      MiMoLive/Classes/Mine/Controller/AboutHomePage/MOUserHomePageVC.m

+ 2 - 2
MiMoLive/Classes/Mine/Controller/AboutHomePage/MOUserHomePageVC.m

@@ -97,9 +97,9 @@
     else{
         [self getUserInfoWith:userId];
         
-        if (![MOLiveManager.curLive isHost:GetUserId]
+        if (![userId isEqualToString:GetUserId]
             && [MOLiveManager.curLive isHost:userId]) {
-            // 非主播,进入主播页,上报
+            // 非自己,进入主播页,上报
             [MOHttpManager.sharedManager reportVisistHostPage:userId handler:^(NSString * _Nullable error) { }];
         }
     }