]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/OStatus/classes/Ostatus_profile.php
OStatus: record source profile & saving method in ostatus_source table; this allows...
[quix0rs-gnu-social.git] / plugins / OStatus / classes / Ostatus_profile.php
index 3bed1c2aa01212af27c29fe167f5458d1032819b..71885bcdce9618fc012b001e8efea7730950cfb7 100644 (file)
@@ -508,13 +508,15 @@ class Ostatus_profile extends Memcached_DataObject
             }
         }
 
-        // @fixme save detailed ostatus source info
         // @fixme ensure that groups get handled correctly
 
         $saved = Notice::saveNew($oprofile->localProfile()->id,
                                  $content,
                                  'ostatus',
                                  $params);
+
+        // Record which feed this came through...
+        Ostatus_source::saveNew($saved, $this, 'push');
     }
 
     /**