aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-07-11 13:20:12 -0700
committerredmatrix <git@macgirvin.com>2016-07-11 13:20:12 -0700
commit67c60229ca663135e8de5b99b27b0838fa6c205a (patch)
tree4cc4f3dcc732e081e27162817e7b6627e11ab765 /Zotlabs/Module
parentf4bcb82041449bc713128399e24514918df37ab8 (diff)
downloadvolse-hubzilla-67c60229ca663135e8de5b99b27b0838fa6c205a.tar.gz
volse-hubzilla-67c60229ca663135e8de5b99b27b0838fa6c205a.tar.bz2
volse-hubzilla-67c60229ca663135e8de5b99b27b0838fa6c205a.zip
use the profile_uid here.
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Item.php9
1 files changed, 2 insertions, 7 deletions
diff --git a/Zotlabs/Module/Item.php b/Zotlabs/Module/Item.php
index 58d39da83..235c5528e 100644
--- a/Zotlabs/Module/Item.php
+++ b/Zotlabs/Module/Item.php
@@ -905,7 +905,7 @@ class Item extends \Zotlabs\Web\Controller {
if($r) {
xchan_query($r);
$sync_item = fetch_post_tags($r);
- build_sync_packet($uid,array('item' => array(encode_item($sync_item[0],true))));
+ build_sync_packet($profile_uid,array('item' => array(encode_item($sync_item[0],true))));
}
}
if(! $nopush)
@@ -1000,7 +1000,7 @@ class Item extends \Zotlabs\Web\Controller {
if($r) {
xchan_query($r);
$sync_item = fetch_post_tags($r);
- build_sync_packet($uid,array('item' => array(encode_item($sync_item[0],true))));
+ build_sync_packet($profile_uid,array('item' => array(encode_item($sync_item[0],true))));
}
}
@@ -1014,11 +1014,6 @@ class Item extends \Zotlabs\Web\Controller {
logger('post_complete');
-
-
-
-
-
// figure out how to return, depending on from whence we came
if($api_source)