1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-03-15 16:29:34 +00:00

Update Torrent.mm (#2777)

This commit is contained in:
SweetPPro 2022-03-16 21:16:23 +01:00 committed by GitHub
parent 0be920156b
commit 4f2472cd93
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -197,6 +197,9 @@ bool trashDataFile(char const* filename, tr_error** error)
- (void)setResumeStatusForTorrent:(Torrent*)torrent withHistory:(NSDictionary*)history forcePause:(BOOL)pause
{
//restore GroupValue
torrent.groupValue = [history[@"GroupValue"] intValue];
//start transfer
NSNumber* active;
if (!pause && (active = history[@"Active"]) && active.boolValue)