1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-28 10:38:45 +00:00

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

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