aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-07-19 18:32:16 -0700
committerzotlabs <mike@macgirvin.com>2017-07-19 18:32:16 -0700
commitdf7f0eb9a4eb42aebd94cbdf8288f0fa8c9b3782 (patch)
treec9ea63a512ccc7af361c1241c12559b34c5171b5
parent6103c301848105a3bca3de81e9982276b2c38d76 (diff)
downloadvolse-hubzilla-df7f0eb9a4eb42aebd94cbdf8288f0fa8c9b3782.tar.gz
volse-hubzilla-df7f0eb9a4eb42aebd94cbdf8288f0fa8c9b3782.tar.bz2
volse-hubzilla-df7f0eb9a4eb42aebd94cbdf8288f0fa8c9b3782.zip
hubzilla issue #832
-rw-r--r--Zotlabs/Module/Group.php4
-rwxr-xr-xboot.php2
-rw-r--r--include/group.php3
-rw-r--r--include/zot.php2
4 files changed, 8 insertions, 3 deletions
diff --git a/Zotlabs/Module/Group.php b/Zotlabs/Module/Group.php
index 646310356..93a089d02 100644
--- a/Zotlabs/Module/Group.php
+++ b/Zotlabs/Module/Group.php
@@ -56,6 +56,7 @@ class Group extends \Zotlabs\Web\Controller {
);
if($r)
info( t('Privacy group updated.') . EOL );
+ build_sync_packet(local_channel(),null,true);
}
goaway(z_root() . '/group/' . argv(1) . '/' . argv(2));
@@ -63,7 +64,8 @@ class Group extends \Zotlabs\Web\Controller {
return;
}
- function get() {
+ function get() {
+
$change = false;
logger('mod_group: ' . \App::$cmd,LOGGER_DEBUG);
diff --git a/boot.php b/boot.php
index 9d9d071dc..061c14554 100755
--- a/boot.php
+++ b/boot.php
@@ -455,6 +455,8 @@ define ( 'NAMESPACE_YMEDIA', 'http://search.yahoo.com/mrss/' );
* activity stream defines
*/
+define ( 'ACTIVITY_PUBLIC_INBOX', 'https://www.w3.org/ns/activitystreams#Public' );
+
define ( 'ACTIVITY_REACT', NAMESPACE_ZOT . '/activity/react' );
define ( 'ACTIVITY_LIKE', NAMESPACE_ACTIVITY_SCHEMA . 'like' );
define ( 'ACTIVITY_DISLIKE', NAMESPACE_ZOT . '/activity/dislike' );
diff --git a/include/group.php b/include/group.php
index 3b208ef95..e0c20b536 100644
--- a/include/group.php
+++ b/include/group.php
@@ -278,8 +278,9 @@ function group_side($every="connections",$each="group",$edit = false, $group_id
$o = '';
- if(! (local_channel() && feature_enabled(local_channel(),'groups')))
+ if(! (local_channel() && feature_enabled(local_channel(),'groups'))) {
return '';
+ }
$groups = array();
diff --git a/include/zot.php b/include/zot.php
index 677fdf6b7..8bbc4a969 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -3372,7 +3372,7 @@ function process_channel_sync_delivery($sender, $arr, $deliveries) {
dbesc($cl['name']),
intval($cl['visible']),
intval($cl['deleted']),
- dbesc($cl['hash']),
+ dbesc($cl['collection']),
intval($channel['channel_id'])
);
}