Skip to content

Commit

Permalink
remove notification on dropping clients
Browse files Browse the repository at this point in the history
  • Loading branch information
MutsiMutsi committed Dec 14, 2020
1 parent 96625e9 commit 4082c04
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions surge/SurgeCore.go
Original file line number Diff line number Diff line change
Expand Up @@ -953,7 +953,6 @@ func restartDownload(Hash string) {
mutateSeederLock.Unlock()

if len(downloadSessions) == 0 {
pushNotification("Download stopped, no more remote connections.", file.FileName)
return
}
}
Expand Down Expand Up @@ -985,7 +984,6 @@ func restartDownload(Hash string) {
mutateSeederLock.Unlock()

if len(downloadSessions) == 0 {
pushNotification("Download stopped, no more remote connections.", file.FileName)
return
}
}
Expand Down
2 changes: 0 additions & 2 deletions surge/nSurge.go
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,6 @@ func DownloadFile(Hash string) bool {
mutateSeederLock.Unlock()

if len(downloadSessions) == 0 {
pushNotification("Download stopped, no more remote connections.", file.FileName)
return
}
}
Expand Down Expand Up @@ -540,7 +539,6 @@ func DownloadFile(Hash string) bool {
mutateSeederLock.Unlock()

if len(downloadSessions) == 0 {
pushNotification("Download stopped, no more remote connections.", file.FileName)
return
}
}
Expand Down

0 comments on commit 4082c04

Please sign in to comment.