diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/activity.php | 6 | ||||
-rw-r--r-- | lib/distribqueuehandler.php | 14 |
2 files changed, 7 insertions, 13 deletions
diff --git a/lib/activity.php b/lib/activity.php index 3689dac38..d91e04260 100644 --- a/lib/activity.php +++ b/lib/activity.php @@ -476,6 +476,9 @@ class ActivityObject return $object; } + /** + * @fixme missing avatar, bio info, etc + */ static function fromProfile($profile) { $object = new ActivityObject(); @@ -495,6 +498,9 @@ class ActivityObject return $object; } + /** + * @fixme missing avatar, bio info, etc + */ function asString($tag='activity:object') { $xs = new XMLStringer(true); diff --git a/lib/distribqueuehandler.php b/lib/distribqueuehandler.php index c31b675c1..dc183fb36 100644 --- a/lib/distribqueuehandler.php +++ b/lib/distribqueuehandler.php @@ -69,19 +69,7 @@ class DistribQueueHandler } try { - $groups = $notice->saveGroups(); - } catch (Exception $e) { - $this->logit($notice, $e); - } - - try { - $recipients = $notice->getReplies(); - } catch (Exception $e) { - $this->logit($notice, $e); - } - - try { - $notice->addToInboxes($groups, $recipients); + $notice->addToInboxes(); } catch (Exception $e) { $this->logit($notice, $e); } |