aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Channel.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2021-01-25 21:52:17 +0100
committerMario Vavti <mario@mariovavti.com>2021-01-25 21:52:17 +0100
commitd4198223bc1fd06e9b9fe969edb5d03811889def (patch)
tree4203b70f293dab3734b6e63325a7b311d35bbfcc /Zotlabs/Module/Channel.php
parent77793e17c04b1f67c10a83e7877c36a8b11ddbaa (diff)
downloadvolse-hubzilla-d4198223bc1fd06e9b9fe969edb5d03811889def.tar.gz
volse-hubzilla-d4198223bc1fd06e9b9fe969edb5d03811889def.tar.bz2
volse-hubzilla-d4198223bc1fd06e9b9fe969edb5d03811889def.zip
invoke channel discovery by hash instead of address and add thread listeners only if we also send them the post
Diffstat (limited to 'Zotlabs/Module/Channel.php')
-rw-r--r--Zotlabs/Module/Channel.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/Zotlabs/Module/Channel.php b/Zotlabs/Module/Channel.php
index fe7341e52..11f4d3a52 100644
--- a/Zotlabs/Module/Channel.php
+++ b/Zotlabs/Module/Channel.php
@@ -73,7 +73,7 @@ class Channel extends Controller {
}
}
else {
- $data = json_encode(Libzot::zotinfo([ 'address' => $channel['channel_address'] ]));
+ $data = json_encode(Libzot::zotinfo([ 'guid_hash' => $channel['channel_hash'] ]));
}
$headers = [
@@ -87,7 +87,6 @@ class Channel extends Controller {
killme();
}
-
if((local_channel()) && (argc() > 2) && (argv(2) === 'view')) {
$which = $channel['channel_address'];
$profile = argv(1);