all repos — honk @ 47bcda689ad55d4b535b56b9fc0c48984acdbe89

my fork of honk

another try at recontexting friendica threads
Ted Unangst tedu@tedunangst.com
Fri, 18 Oct 2019 21:22:33 -0400
commit

47bcda689ad55d4b535b56b9fc0c48984acdbe89

parent

2383e1cd94019a9a6974723dcdfa1c80d53f86d9

1 files changed, 8 insertions(+), 5 deletions(-)

jump to
M activity.goactivity.go

@@ -664,11 +664,6 @@ rid, _ = robj.GetString("id")

} } convoy, _ = obj.GetString("context") - if strings.HasSuffix(convoy, "#context") && - originate(convoy) != originate(xid) { - // friendica... - convoy = "" - } if convoy == "" { convoy, _ = obj.GetString("conversation") }

@@ -884,6 +879,14 @@ updatehonk(prev)

} } if !isUpdate && needxonk(user, &xonk) { + if strings.HasSuffix(convoy, "#context") { + // friendica... + if rid != "" { + convoy = "" + } else { + convoy = url + } + } if rid != "" { if needxonkid(user, rid) { goingup++