Activity feed entries require a proper nick
This commit is contained in:
parent
00d4e23d2d
commit
cb4a2f5b15
@ -33,6 +33,10 @@ func fetchActivities(user *arn.User, followedOnly bool) []arn.Activity {
|
|||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if !activity.Creator().HasNick() {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
if activity.Type() == "ActivityCreate" {
|
if activity.Type() == "ActivityCreate" {
|
||||||
obj := activity.(*arn.ActivityCreate).Object()
|
obj := activity.(*arn.ActivityCreate).Object()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user