--- activitystream.module	2008-09-07 20:53:22.000000000 +0200
+++ activitystream.module	2009-04-09 06:09:38.000000000 +0200
@@ -563,7 +563,7 @@ function activitystream_views_default_vi
 function activitystream_block($op = 'list', $delta = 0) {
   if ($op == 'list') {
     $blocks[0]['info'] = variable_get('activitystream_title', 'Activity Stream');
-    
+    $blocks[1]['info'] = t('User\'s activity stream');
     return $blocks;
   }
   else if ($op == 'view') {
@@ -574,6 +574,14 @@ function activitystream_block($op = 'lis
         $block['subject'] = t($title);
         $block['content'] = block_activitystream_content(0);
         break;
+
+      case 1:
+        // basic validation
+        $arg = arg();
+        if (count($arg) == 2 && $arg[0] == 'user' && is_numeric($arg[1]) && ($user = activitystream_user_load($arg[1]))) {
+          $block['subject'] = t('My activity');
+          $block['content'] = block_activitystream_content(1, $user);
+        }
       
     }
     return $block;
@@ -589,5 +597,9 @@ function block_activitystream_content($w
     case 0:
       $items = _activitystream_get_activity();
       return theme('activitystream', $items);
+    case 1:
+      $args = func_get_args();
+      $items = _activitystream_get_activity($args[1]);
+      return theme('activitystream', $items);
   }
 }
