summaryrefslogtreecommitdiff
path: root/lib/activity.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-02-23 20:44:27 +0000
committerBrion Vibber <brion@pobox.com>2010-02-23 20:44:27 +0000
commit90d34b26c66ceb5d37a9c2782356b46361a523cc (patch)
tree2882722b42779e468bcf8ab2d074d506a5ee2f52 /lib/activity.php
parentc79c70ea2c2dadafa72c65dc4593a66fecb070e3 (diff)
OStatus: do PuSH subscription setup from subscribe/join event hooks, so resubscribing directly from a profile/group list works correctly if there aren't active subscriptions at the moment.
Diffstat (limited to 'lib/activity.php')
-rw-r--r--lib/activity.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/activity.php b/lib/activity.php
index 3689dac38..04c57c561 100644
--- a/lib/activity.php
+++ b/lib/activity.php
@@ -823,7 +823,9 @@ class Activity
if ($namespace) {
$attrs = array('xmlns' => 'http://www.w3.org/2005/Atom',
'xmlns:activity' => 'http://activitystrea.ms/spec/1.0/',
- 'xmlns:ostatus' => 'http://ostatus.org/schema/1.0');
+ 'xmlns:georss' => 'http://www.georss.org/georss',
+ 'xmlns:ostatus' => 'http://ostatus.org/schema/1.0',
+ 'xmlns:poco' => 'http://portablecontacts.net/spec/1.0');
} else {
$attrs = array();
}