Skip to content

Commit

Permalink
Fix 'USER started following USER' activity
Browse files Browse the repository at this point in the history
It was saying the follower's name twice instead of the follower's name
and then the followee's name, e.g.
Sean Hammond started following Sean Hammond,
fix to Sean Hammond started following Joe Admin.
  • Loading branch information
Sean Hammond committed Oct 10, 2012
1 parent b19a66d commit 32da1d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/lib/activity_streams.py
Expand Up @@ -18,7 +18,7 @@ def get_snippet_actor(activity, detail):

def get_snippet_user(activity, detail):
return literal('''<span data-module="user-context" data-module-id="%s">%s</span>'''
% (activity['user_id'], h.linked_user(activity['user_id'], 0, 20))
% (activity['object_id'], h.linked_user(activity['object_id'], 0, 20))
)

def get_snippet_dataset(activity, detail):
Expand Down

0 comments on commit 32da1d8

Please sign in to comment.