another try at recontexting friendica threads
This commit is contained in:
parent
40ab30dee6
commit
341b03b8f0
13
activity.go
13
activity.go
|
@ -664,11 +664,6 @@ func xonksaver(user *WhatAbout, item junk.Junk, origin string) *Honk {
|
|||
}
|
||||
}
|
||||
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 @@ func xonksaver(user *WhatAbout, item junk.Junk, origin string) *Honk {
|
|||
}
|
||||
}
|
||||
if !isUpdate && needxonk(user, &xonk) {
|
||||
if strings.HasSuffix(convoy, "#context") {
|
||||
// friendica...
|
||||
if rid != "" {
|
||||
convoy = ""
|
||||
} else {
|
||||
convoy = url
|
||||
}
|
||||
}
|
||||
if rid != "" {
|
||||
if needxonkid(user, rid) {
|
||||
goingup++
|
||||
|
|
Loading…
Reference in New Issue