aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-06-26 17:31:02 -0700
committerfriendica <info@friendica.com>2013-06-26 17:31:02 -0700
commitb9466941e77eea806539ea56b6b625d354968f4c (patch)
treef5f5c8eac6991609771ebd82941325b8b479968f /include/zot.php
parent156cf592eeeaf1ef2fe446655b1f28debab7814c (diff)
downloadvolse-hubzilla-b9466941e77eea806539ea56b6b625d354968f4c.tar.gz
volse-hubzilla-b9466941e77eea806539ea56b6b625d354968f4c.tar.bz2
volse-hubzilla-b9466941e77eea806539ea56b6b625d354968f4c.zip
more work on channel sync
Diffstat (limited to 'include/zot.php')
-rw-r--r--include/zot.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/zot.php b/include/zot.php
index 689af2dac..14a29005d 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -874,8 +874,16 @@ function zot_import($arr) {
$result = process_profile_delivery($i['notify']['sender'],$arr,$deliveries);
}
+ elseif($i['message']['type'] === 'channel_sync') {
+// $arr = get_channelsync_elements($i['message']);
+ $arr = $i['message'];
+ logger('Channel sync received: ' . print_r($arr,true), LOGGER_DATA);
+ logger('Channel sync recipients: ' . print_r($deliveries,true), LOGGER_DATA);
+
+// $result = process_channelsync_delivery($i['notify']['sender'],$arr,$deliveries);
+ }
}
if($result)
$return = array_merge($return,$result);