From b9466941e77eea806539ea56b6b625d354968f4c Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 26 Jun 2013 17:31:02 -0700 Subject: more work on channel sync --- include/zot.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include/zot.php') 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); -- cgit v1.2.3