direct messages in api have some issues, not properly ported from friendica originally. Here's a start.
I think at best they may return encrypted gibberish currently, but let's work through them one at a time.
This commit is contained in:
@@ -594,7 +594,8 @@ function random_profile() {
|
||||
if(!$r) return ''; // Couldn't get a random channel
|
||||
|
||||
if($checkrandom) {
|
||||
if(z_fetch_url($r[0]['xchan_url'])['success'])
|
||||
$x = z_fetch_url($r[0]['xchan_url']);
|
||||
if($x['success'])
|
||||
return $r[0]['xchan_url'];
|
||||
else
|
||||
logger('Random channel turned out to be bad.');
|
||||
|
||||
Reference in New Issue
Block a user