|
|
@@ -116,11 +116,11 @@ namespace molilian.core
|
|
|
!string.IsNullOrEmpty(other.related_account_ids) &&
|
|
|
other.related_account_ids.Split(',').Contains(item.id.ToString()));
|
|
|
|
|
|
- // 如果没有账号关联它,或者关联它的账号在线(在list中),则可以使用
|
|
|
- if (ownerAccount == null || list.Any(a => a.id == ownerAccount.id))
|
|
|
- {
|
|
|
- filteredList.Add(item);
|
|
|
- }
|
|
|
+ // 如果没有账号关联它,或者关联它的账号在线,或者主账号不需要补点击,则可以使用
|
|
|
+ if (ownerAccount == null || list.Any(a => a.id == ownerAccount.id) || !ownerAccount.enable_fake_click)
|
|
|
+ {
|
|
|
+ filteredList.Add(item);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
foreach (var item in list)
|
|
|
@@ -131,11 +131,11 @@ namespace molilian.core
|
|
|
!string.IsNullOrEmpty(other.related_account_ids) &&
|
|
|
other.related_account_ids.Split(',').Contains(item.id.ToString()));
|
|
|
|
|
|
- // 如果没有账号关联它,或者关联它的账号在线(在list中),则可以使用
|
|
|
- if (ownerAccount == null || list.Any(a => a.id == ownerAccount.id))
|
|
|
- {
|
|
|
- filteredList.Add(item);
|
|
|
- }
|
|
|
+ // 如果没有账号关联它,或者关联它的账号在线,或者主账号不需要补点击,则可以使用
|
|
|
+ if (ownerAccount == null || list.Any(a => a.id == ownerAccount.id) || !ownerAccount.enable_fake_click)
|
|
|
+ {
|
|
|
+ filteredList.Add(item);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
if (filteredList.Count == 0) return null;
|