Show "to" when a user posts to a user
This commit is contained in:
parent
b13b337990
commit
f25501ca7d
@ -67,9 +67,12 @@ component ActivityConsumeAnimeText(activity *arn.ActivityConsumeAnime, user *arn
|
||||
|
||||
component ActivityCreateMeta(activity *arn.ActivityCreate, user *arn.User)
|
||||
if activity.ObjectType == "Post"
|
||||
if activity.Postable().GetParentType() != "User" || activity.Postable().GetParentID() != activity.CreatedBy
|
||||
if activity.Postable().GetParentType() != "User"
|
||||
span in
|
||||
a(href=activity.Postable().Parent().Link())= activity.Postable().Parent().TitleByUser(user)
|
||||
else if activity.Postable().GetParentID() != activity.CreatedBy
|
||||
span to
|
||||
a(href=activity.Postable().Parent().Link())= activity.Postable().Parent().TitleByUser(user)
|
||||
else if activity.ObjectType == "Thread"
|
||||
span in
|
||||
a(href=activity.Postable().Link())= activity.Postable().TitleByUser(user)
|
||||
|
Loading…
Reference in New Issue
Block a user