--- flagactivity.module.orig	2010-02-24 14:29:11.000000000 -0800
+++ flagactivity.module	2010-02-24 14:27:29.000000000 -0800
@@ -25,6 +25,11 @@
         '#description' => t('The general public.'),
         '#default' => t('[author-all] [operation]ged the [content-type] [content-link]'),
       ),
+      'parent_node_author' => array(
+        '#name' => t('Parent node author'),
+        '#description' => t('The person who created the node (if applicable).'),
+        '#default' => t('[author] [operation]ged the [content-type] [content-link]'),
+      ),
     ),
   );
 }
@@ -137,5 +142,12 @@
     $account->uid => 'author' 
   );
 
+  if ($flag->content_type == 'node') {
+    $node = node_load($content_id);
+    $target_users_roles += array(
+        $node->uid => 'parent_node_author'
+        );
+  }
+
   activity_insert($account->uid, 'flagactivity', $flag->name, $op, $data, $target_users_roles);
 }
