aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-05-29 22:57:15 -0700
committerfriendica <info@friendica.com>2012-05-29 22:57:15 -0700
commit88a0d6a1d53a93fa0d43591f85b72a8a72c13d53 (patch)
tree4347cab04767aafe7b5567d68539e666284fa3cc /include
parentb6fe837a643c9c7bb63a5196d4d14c508f3fce55 (diff)
downloadvolse-hubzilla-88a0d6a1d53a93fa0d43591f85b72a8a72c13d53.tar.gz
volse-hubzilla-88a0d6a1d53a93fa0d43591f85b72a8a72c13d53.tar.bz2
volse-hubzilla-88a0d6a1d53a93fa0d43591f85b72a8a72c13d53.zip
private group tests, cont.
Diffstat (limited to 'include')
-rw-r--r--include/items.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/items.php b/include/items.php
index b08e491be..c6d852fe7 100644
--- a/include/items.php
+++ b/include/items.php
@@ -1063,9 +1063,6 @@ function dfrn_deliver($owner,$contact,$atom, $dissolve = false) {
$a = get_app();
-// if((! strlen($contact['issued-id'])) && (! $contact['duplex']) && (! ($owner['page-flags'] == PAGE_COMMUNITY)))
-// return 3;
-
$idtosend = $orig_id = (($contact['dfrn-id']) ? $contact['dfrn-id'] : $contact['issued-id']);
if($contact['duplex'] && $contact['dfrn-id'])
@@ -1130,6 +1127,9 @@ function dfrn_deliver($owner,$contact,$atom, $dissolve = false) {
$rino_allowed = ((intval($res->rino) === 1) ? 1 : 0);
$page = (($owner['page-flags'] == PAGE_COMMUNITY) ? 1 : 0);
+ if($owner['page-flags'] == PAGE_PRVGROUP)
+ $page = 2;
+
$final_dfrn_id = '';
if($perm) {
@@ -1183,7 +1183,7 @@ function dfrn_deliver($owner,$contact,$atom, $dissolve = false) {
$postvars['ssl_policy'] = $ssl_policy;
if($page)
- $postvars['page'] = '1';
+ $postvars['page'] = $page;
if($rino && $rino_allowed && (! $dissolve)) {
$key = substr(random_string(),0,16);