aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-07-24 15:55:01 -0700
committerfriendica <info@friendica.com>2014-07-24 15:55:01 -0700
commit5a5190f2ff5e007283882b99171a6681d6f6ba48 (patch)
tree96a6be320206db1a37dfd9e61d1a4fc3776d2f28 /include/zot.php
parent0f14dd30db80637a3f3dd2af05eb14c248def724 (diff)
downloadvolse-hubzilla-5a5190f2ff5e007283882b99171a6681d6f6ba48.tar.gz
volse-hubzilla-5a5190f2ff5e007283882b99171a6681d6f6ba48.tar.bz2
volse-hubzilla-5a5190f2ff5e007283882b99171a6681d6f6ba48.zip
add an encoding type to formatted zot communication structures so that we can later add alternate encodings.
Diffstat (limited to 'include/zot.php')
-rw-r--r--include/zot.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/zot.php b/include/zot.php
index 0fbeed519..5df217c03 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -1648,11 +1648,6 @@ function delete_imported_item($sender,$item,$uid) {
require_once('include/items.php');
- // FIXME issue #230 is related
- // Chicken/egg problem because we have to drop_item, but this removes information that tag_deliver may need to do its stuff.
- // We can't reverse the order because drop_item refuses to run if the item already has the deleted flag set and we need to
- // set that flag prior to calling tag_deliver.
-
// Use phased deletion to set the deleted flag, call both tag_deliver and the notifier to notify downstream channels
// and then clean up after ourselves with a cron job after several days to do the delete_item_lowlevel() (DROPITEM_PHASE2).
@@ -2104,6 +2099,7 @@ function build_sync_packet($uid = 0, $packet = null, $groups_changed = false) {
$info = (($packet) ? $packet : array());
$info['type'] = 'channel_sync';
+ $info['encoding'] = 'red'; // note: not zot, this packet is very red specific
if(array_key_exists($uid,$a->config) && array_key_exists('transient',$a->config[$uid])) {
$settings = $a->config[$uid]['transient'];