remove the unfinished peep command
This commit is contained in:
parent
3a2d841db5
commit
7830694baa
2 changed files with 0 additions and 19 deletions
17
activity.go
17
activity.go
|
@ -369,23 +369,6 @@ func gimmexonks(user *WhatAbout, outbox string) {
|
|||
}
|
||||
}
|
||||
|
||||
func peeppeep() {
|
||||
user, _ := butwhatabout("htest")
|
||||
honkers := gethonkers(user.ID)
|
||||
for _, f := range honkers {
|
||||
if f.Flavor != "peep" {
|
||||
continue
|
||||
}
|
||||
log.Printf("getting updates: %s", f.XID)
|
||||
var box *Box
|
||||
ok := boxofboxes.Get(f.XID, &box)
|
||||
if !ok {
|
||||
log.Printf("error getting outbox")
|
||||
continue
|
||||
}
|
||||
gimmexonks(user, box.Out)
|
||||
}
|
||||
}
|
||||
func whosthere(xid string) ([]string, string) {
|
||||
obj, err := GetJunk(xid)
|
||||
if err != nil {
|
||||
|
|
2
honk.go
2
honk.go
|
@ -188,8 +188,6 @@ func main() {
|
|||
return
|
||||
}
|
||||
ping(user, targ)
|
||||
case "peep":
|
||||
peeppeep()
|
||||
case "run":
|
||||
serve()
|
||||
case "test":
|
||||
|
|
Loading…
Reference in a new issue