all repos — honk @ 5ce2b2f040250e0dd7b1d887d749a3524a0a344f

my fork of honk

some fixups for the way friendica does context
Ted Unangst tedu@tedunangst.com
Wed, 25 Sep 2019 12:27:02 -0400
commit

5ce2b2f040250e0dd7b1d887d749a3524a0a344f

parent

6b3921970b7f9ad6f6810673f3283b4cdfee57ae

1 files changed, 11 insertions(+), 0 deletions(-)

jump to
M activity.goactivity.go

@@ -579,6 +579,11 @@ 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") }

@@ -731,6 +736,12 @@ if needxonk(user, &xonk) {

if rid != "" { if needxonkid(user, rid) { saveoneup(rid) + } + if convoy == "" { + xx := getxonk(user.ID, rid) + if xx != nil { + convoy = xx.Convoy + } } } if convoy == "" {