Browse Source

no sparkle on federated network

pull/1/head
Mike Macgirvin 11 years ago
parent
commit
1335ef7595
2 changed files with 3 additions and 2 deletions
  1. +2
    -1
      include/poller.php
  2. +1
    -1
      mod/network.php

+ 2
- 1
include/poller.php View File

@ -21,6 +21,7 @@
$a->set_baseurl(get_config('system','url'));
// 'stat' clause is a temporary measure until we have federation subscriptions working both directions
$contacts = q("SELECT * FROM `contact`
WHERE ( ( `network` = 'dfrn' AND ( `dfrn-id` != '' OR (`issued-id` != '' AND `duplex` = 1)))
OR ( `network` = 'stat' AND `poll` != '' ) )
@ -180,7 +181,7 @@
consume_feed($xml,$importer,$contact,$hub);
if((strlen($hub)) && ($contact['rel'] == REL_BUD) && ($contact['priority'] == 0)) {
if((strlen($hub)) && (($contact['rel'] == REL_BUD) || (($contact['network'] === 'stat') && (! $contact['readonly']))) && ($contact['priority'] == 0)) {
$hubs = explode(',', $hub);
if(count($hubs)) {
foreach($hubs as $h) {


+ 1
- 1
mod/network.php View File

@ -263,7 +263,7 @@ function network_content(&$a, $update = 0) {
// Can we use our special contact URL for this author?
if(strlen($item['author-link'])) {
if($item['author-link'] == $item['url'] && (! $item['self'])) {
if($item['author-link'] == $item['url'] && ($item['network'] === 'dfrn') && (! $item['self'])) {
$profile_link = $redirect_url;
$sparkle = ' sparkle';
}


Loading…
Cancel
Save