aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Libzot.php
diff options
context:
space:
mode:
authorZot <mike@macgirvin.com>2020-01-30 20:06:15 +0100
committerMario <mario@mariovavti.com>2020-01-30 20:06:15 +0100
commit2c42daf6090ba8d0e3a50b8350ea5a3750891b68 (patch)
tree112a577d708088aecabd8af957c5c40b8e24e313 /Zotlabs/Lib/Libzot.php
parent8e2446a2fc706a6750c925b4c2672314be6bb91f (diff)
downloadvolse-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.php7
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) {