From ec373f90419cc2a451aea48988d35489c61624e1 Mon Sep 17 00:00:00 2001 From: Harm133 Date: Fri, 7 Oct 2022 00:15:33 +0200 Subject: [PATCH] macos: Allign active filter with other clients (#3871) --- macosx/Torrent.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/macosx/Torrent.mm b/macosx/Torrent.mm index aaa070b6f..f20aa9cb5 100644 --- a/macosx/Torrent.mm +++ b/macosx/Torrent.mm @@ -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