Index: subscriptions.module
===================================================================
--- subscriptions.module	(revision 151)
+++ subscriptions.module	(working copy)
@@ -1236,3 +1236,32 @@
   // $channel['description'] = ;
   node_feed($result, $channel);
 }
+
+function subscriptions_views_tables() {
+  $tables['subscriptions'] = array(
+    'name' => 'subscriptions',
+    'provider' => 'internal',
+    'join' => array(
+      'left' => array(
+        'table' => 'node',
+        'field' => 'nid'
+      ),
+      'right' => array(
+        'field' => 'sid'
+      )
+    ),
+    'filters' => array(
+      'sid' => array(
+        'field' => 'uid',
+        'name'=>"Subscriptions: Subscribed User", 
+        'operator' => 'views_handler_operator_eqneq',
+        'list' => 'views_handler_filter_usercurrent',
+        'list-type' => 'select',
+        'help'=>t('Combine this with "Node: Type" to find nodes of that type that logged in user is subscribed to'),
+      ),
+    ),
+  );
+
+return $tables;
+} 
+
