all repos — honk @ db67210c7f8740b13914fc5031cee81f13c9f44c

my fork of honk

updated junk interface
Ted Unangst tedu@tedunangst.com
Wed, 16 Oct 2019 02:27:04 -0400
commit

db67210c7f8740b13914fc5031cee81f13c9f44c

parent

b30d68e27b3513d6b90a358701286eb3bbc7b66a

3 files changed, 5 insertions(+), 3 deletions(-)

jump to
M activity.goactivity.go

@@ -312,7 +312,7 @@ return nil, false

} inbox, _ := j.GetString("inbox") outbox, _ := j.GetString("outbox") - sbox, _ := j.FindString([]string{"endpoints", "sharedInbox"}) + sbox, _ := j.GetString("endpoints", "sharedInbox") b := &Box{In: inbox, Out: outbox, Shared: sbox} if inbox != "" { m := strings.Join([]string{inbox, outbox, sbox}, " ")

@@ -593,7 +593,7 @@ if obj != nil {

_, ok := obj.GetString("diaspora:guid") if ok { // friendica does the silliest bonks - c, ok := obj.FindString([]string{"source", "content"}) + c, ok := obj.GetString("source", "content") if ok { re_link := regexp.MustCompile(`link='([^']*)'`) m := re_link.FindStringSubmatch(c)
M go.modgo.mod

@@ -7,7 +7,7 @@ github.com/mattn/go-runewidth v0.0.4

golang.org/x/crypto v0.0.0-20190621222207-cc06ce4a13d4 golang.org/x/net v0.0.0-20190620200207-3b0461eec859 humungus.tedunangst.com/r/go-sqlite3 v1.1.3 - humungus.tedunangst.com/r/webs v0.6.12 + humungus.tedunangst.com/r/webs v0.6.13 ) go 1.11
M go.sumgo.sum

@@ -23,3 +23,5 @@ humungus.tedunangst.com/r/go-sqlite3 v1.1.3 h1:G2N4wzDS0NbuvrZtQJhh4F+3X+s7BF8b9ga8k38geUI=

humungus.tedunangst.com/r/go-sqlite3 v1.1.3/go.mod h1:FtEEmQM7U2Ey1TuEEOyY1BmphTZnmiEjPsNLEAkpf/M= humungus.tedunangst.com/r/webs v0.6.12 h1:tRQOF/tJ6FeT3V1KO+8iz+WFNwMQvzMmPqiykD0rgnA= humungus.tedunangst.com/r/webs v0.6.12/go.mod h1:S9sXpVSbgAIa24yYhnMN0C94LKHG+2rioS+NsiDimps= +humungus.tedunangst.com/r/webs v0.6.13 h1:NoPvn+92GVCmMekUCyfgT9rSgDQs6Jp5Fv/tyhHD1Gc= +humungus.tedunangst.com/r/webs v0.6.13/go.mod h1:S9sXpVSbgAIa24yYhnMN0C94LKHG+2rioS+NsiDimps=