aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Randprof.php
diff options
context:
space:
mode:
authorgit-marijus <mario@mariovavti.com>2017-06-03 10:13:42 +0200
committergit-marijus <mario@mariovavti.com>2017-06-03 10:13:42 +0200
commitc4ed04fc827ec5a1039959e260702141083836c8 (patch)
treee3657117a4cc1a7229e6477e2a8886a03397fdb0 /Zotlabs/Module/Randprof.php
parent56f3b121712edcfa9a33178dccd89fadd0549642 (diff)
downloadvolse-hubzilla-c4ed04fc827ec5a1039959e260702141083836c8.tar.gz
volse-hubzilla-c4ed04fc827ec5a1039959e260702141083836c8.tar.bz2
volse-hubzilla-c4ed04fc827ec5a1039959e260702141083836c8.zip
convert randprof to use chanlink_hash() instead of chanlink_url() and filter sys channels by xchan.xchan_system instead of xchan_addr != sys@%
Diffstat (limited to 'Zotlabs/Module/Randprof.php')
-rw-r--r--Zotlabs/Module/Randprof.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Randprof.php b/Zotlabs/Module/Randprof.php
index dc2e925fe..94ec095cb 100644
--- a/Zotlabs/Module/Randprof.php
+++ b/Zotlabs/Module/Randprof.php
@@ -8,7 +8,7 @@ class Randprof extends \Zotlabs\Web\Controller {
function init() {
$x = random_profile();
if($x)
- goaway(chanlink_url($x));
+ goaway(chanlink_hash($x));
/** FIXME this doesn't work at the moment as a fallback */
goaway(z_root() . '/profile');