From aeee47c758edf41e0be7c661805024957dc421d7 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Fri, 30 Aug 2019 16:18:50 -0400 Subject: [PATCH] collected enough samples, thank you --- honk.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/honk.go b/honk.go index de394a4..15c07a4 100644 --- a/honk.go +++ b/honk.go @@ -461,11 +461,6 @@ func inbox(w http.ResponseWriter, r *http.Request) { return } case "Announce": - fd, _ := os.OpenFile("savedinbox.json", os.O_CREATE|os.O_WRONLY|os.O_APPEND, 0666) - j.Write(fd) - io.WriteString(fd, "\n") - fd.Close() - log.Printf("an announcement has been undone") xid, _ := obj.GetString("object") log.Printf("undo announce: %s", xid) case "Like":