diff options
author | Brion Vibber <brion@pobox.com> | 2010-02-21 19:51:11 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-02-21 19:52:53 -0800 |
commit | 5207783765328a3d6f0101f143edb8807247bcfe (patch) | |
tree | 5c5ebf944c9916f70aa7aebc54961b040ef69323 /plugins/OStatus/classes/Ostatus_profile.php | |
parent | 232b5efa7e5d2771ef50b8a5da90147bbff7af3f (diff) |
OStatus: record source profile & saving method in ostatus_source table; this allows us to distinguish posts that have come through an unverified group feed
Diffstat (limited to 'plugins/OStatus/classes/Ostatus_profile.php')
-rw-r--r-- | plugins/OStatus/classes/Ostatus_profile.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/OStatus/classes/Ostatus_profile.php b/plugins/OStatus/classes/Ostatus_profile.php index 3bed1c2aa..71885bcdc 100644 --- a/plugins/OStatus/classes/Ostatus_profile.php +++ b/plugins/OStatus/classes/Ostatus_profile.php @@ -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'); } /** |