From 32da1d83b7ae8bf554333b24bb81424f58d2b71e Mon Sep 17 00:00:00 2001 From: Sean Hammond Date: Wed, 10 Oct 2012 15:07:29 +0200 Subject: [PATCH] Fix 'USER started following USER' activity 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. --- ckan/lib/activity_streams.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ckan/lib/activity_streams.py b/ckan/lib/activity_streams.py index 0e539602f67..dea726611a7 100644 --- a/ckan/lib/activity_streams.py +++ b/ckan/lib/activity_streams.py @@ -18,7 +18,7 @@ def get_snippet_actor(activity, detail): def get_snippet_user(activity, detail): return literal('''%s''' - % (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):