Activity feed entries require a proper nick

This commit is contained in:
Eduard Urbach 2018-11-13 01:21:45 +09:00
parent 00d4e23d2d
commit cb4a2f5b15

View File

@ -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()