only fill in reply handles if logged in user
This commit is contained in:
parent
b9bb752d7c
commit
c1caef5679
2
fun.go
2
fun.go
|
@ -83,6 +83,7 @@ func reverbolate(userid int64, honks []*Honk) {
|
|||
}
|
||||
}
|
||||
}
|
||||
if user != nil {
|
||||
if user.Options.MentionAll {
|
||||
hset := []string{"@" + h.Handle}
|
||||
for _, a := range h.Audience {
|
||||
|
@ -99,6 +100,7 @@ func reverbolate(userid int64, honks []*Honk) {
|
|||
} else if h.Honker != user.URL {
|
||||
h.Handles = "@" + h.Handle
|
||||
}
|
||||
}
|
||||
if h.URL == "" {
|
||||
h.URL = h.XID
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue