macos: Allign active filter with other clients (#3871)

This commit is contained in:
Harm133 2022-10-07 00:15:33 +02:00 committed by GitHub
parent 89d6533cd7
commit ec373f9041
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -863,8 +863,8 @@ bool trashDataFile(char const* filename, tr_error** error)
- (BOOL)isActive
{
return self.fStat->activity != TR_STATUS_STOPPED && self.fStat->activity != TR_STATUS_DOWNLOAD_WAIT &&
self.fStat->activity != TR_STATUS_SEED_WAIT;
return self.fStat->peersSendingToUs > 0 || self.fStat->peersGettingFromUs > 0 || self.fStat->webseedsSendingToUs > 0 ||
self.fStat->activity == TR_STATUS_CHECK;
}
- (BOOL)isSeeding