aboutsummaryrefslogtreecommitdiff
path: root/content.go
diff options
context:
space:
mode:
Diffstat (limited to 'content.go')
-rw-r--r--content.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/content.go b/content.go
index 3f897b4..ed7a6ce 100644
--- a/content.go
+++ b/content.go
@@ -231,11 +231,10 @@ func handleContent(cc *contentConn) {
case *mt.ToCltAnnounceMedia:
var filenames []string
- RequestLoop:
for _, f := range cmd.Files {
if cc.fromCache(f.Name, f.Base64SHA1) {
- continue RequestLoop
+ continue
}
filenames = append(filenames, f.Name)
@@ -243,7 +242,7 @@ func handleContent(cc *contentConn) {
for i, mf := range cc.media {
if mf.name == f.Name {
cc.media[i].base64SHA1 = f.Base64SHA1
- continue RequestLoop
+ continue
}
}
@@ -251,7 +250,6 @@ func handleContent(cc *contentConn) {
name: f.Name,
base64SHA1: f.Base64SHA1,
})
-
}
cc.remotes = strings.Split(cmd.URL, ",")