aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-05-15 12:11:35 +0000
committerMario <mario@mariovavti.com>2020-05-15 12:11:35 +0000
commitb4973ede4443aea7e77e112f2fd031f5541ea3d3 (patch)
tree1a4f7fe1bdcad9fc62da385eeda8f6ee32fb79bb
parent81338e80865caff4c911980c0cb9689cb10c7087 (diff)
downloadvolse-hubzilla-b4973ede4443aea7e77e112f2fd031f5541ea3d3.tar.gz
volse-hubzilla-b4973ede4443aea7e77e112f2fd031f5541ea3d3.tar.bz2
volse-hubzilla-b4973ede4443aea7e77e112f2fd031f5541ea3d3.zip
rewriting the owner for legacy compatibility should be sufficient
-rw-r--r--Zotlabs/Daemon/Notifier.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/Zotlabs/Daemon/Notifier.php b/Zotlabs/Daemon/Notifier.php
index d66079216..bd5f8ee2c 100644
--- a/Zotlabs/Daemon/Notifier.php
+++ b/Zotlabs/Daemon/Notifier.php
@@ -477,7 +477,6 @@ class Notifier {
$details = q("select xchan_hash, xchan_network, xchan_addr, xchan_guid, xchan_guid_sig from xchan where xchan_hash in (" . protect_sprintf(implode(',',$recipients)) . ")");
-
$recip_list = array();
if($details) {
@@ -567,7 +566,6 @@ class Notifier {
$hub_env = []; // per-hub envelope so we don't broadcast the entire envelope to all
foreach($hubs as $hub) {
-
if($env_recips) {
foreach($env_recips as $er) {
if($hub['hubloc_hash'] === $er['hash']) {
@@ -744,8 +742,8 @@ class Notifier {
else {
$encoded_item['owner']['network'] = 'zot';
$encoded_item['owner']['guid_sig'] = str_replace('sha256.', '', $encoded_item['owner']['guid_sig']);
- $encoded_item['author']['network'] = 'zot';
- $encoded_item['author']['guid_sig'] = str_replace('sha256.', '', $encoded_item['author']['guid_sig']);
+ //$encoded_item['author']['network'] = 'zot';
+ //$encoded_item['author']['guid_sig'] = str_replace('sha256.', '', $encoded_item['author']['guid_sig']);
}
}