hubzilla issue #832

This commit is contained in:
zotlabs 2017-07-19 18:32:16 -07:00
parent 6103c30184
commit df7f0eb9a4
4 changed files with 8 additions and 3 deletions

View File

@ -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);

View File

@ -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' );

View File

@ -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();

View File

@ -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'])
);
}