diff options
author | Zot <mike@macgirvin.com> | 2020-01-30 20:06:15 +0100 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-01-30 20:06:15 +0100 |
commit | 2c42daf6090ba8d0e3a50b8350ea5a3750891b68 (patch) | |
tree | 112a577d708088aecabd8af957c5c40b8e24e313 /Zotlabs/Lib/Libzot.php | |
parent | 8e2446a2fc706a6750c925b4c2672314be6bb91f (diff) | |
download | volse-hubzilla-2c42daf6090ba8d0e3a50b8350ea5a3750891b68.tar.gz volse-hubzilla-2c42daf6090ba8d0e3a50b8350ea5a3750891b68.tar.bz2 volse-hubzilla-2c42daf6090ba8d0e3a50b8350ea5a3750891b68.zip |
z6 compat work
Diffstat (limited to 'Zotlabs/Lib/Libzot.php')
-rw-r--r-- | Zotlabs/Lib/Libzot.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Libzot.php b/Zotlabs/Lib/Libzot.php index ad00aa97a..bb70dfbf2 100644 --- a/Zotlabs/Lib/Libzot.php +++ b/Zotlabs/Lib/Libzot.php @@ -1277,7 +1277,12 @@ class Libzot { logger('Channel sync received: ' . print_r($arr,true), LOGGER_DATA, LOG_DEBUG); logger('Channel sync recipients: ' . print_r($deliveries,true), LOGGER_DATA, LOG_DEBUG); - $result = Libsync::process_channel_sync_delivery($env['sender'],$arr,$deliveries); + if ($env['encoding'] === 'hz') { + $result = Libsync::process_channel_sync_delivery($env['sender'],$arr,$deliveries); + } + else { + logger('sync packet type not supported.'); + } } } if ($result) { |