aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-01-26 02:32:00 -0800
committerFriendika <info@friendika.com>2011-01-26 02:32:00 -0800
commitc7ace10ffb4a9f7dcb5e24eb4db25a4cfb449de7 (patch)
treeb69c1fa604d2c7317c6083088c8af28435793dd8 /include
parent2fc89deaeae0341aa12b6b811927e793011055d1 (diff)
downloadvolse-hubzilla-c7ace10ffb4a9f7dcb5e24eb4db25a4cfb449de7.tar.gz
volse-hubzilla-c7ace10ffb4a9f7dcb5e24eb4db25a4cfb449de7.tar.bz2
volse-hubzilla-c7ace10ffb4a9f7dcb5e24eb4db25a4cfb449de7.zip
dissolve relationship (new protocol) working
Diffstat (limited to 'include')
-rw-r--r--include/items.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/items.php b/include/items.php
index 7b0ff2ce6..e238280fc 100644
--- a/include/items.php
+++ b/include/items.php
@@ -1157,6 +1157,7 @@ function consume_feed($xml,$importer,&$contact, &$hub, $datedir = 0) {
continue;
}
$datarray = get_atom_elements($feed,$item);
+
if($contact['network'] === 'stat') {
if(strlen($datarray['title']))
unset($datarray['title']);
@@ -1167,6 +1168,7 @@ function consume_feed($xml,$importer,&$contact, &$hub, $datedir = 0) {
);
$datarray['last-child'] = 1;
}
+
if(($contact['network'] === 'feed') || (! strlen($contact['notify']))) {
// one way feed - no remote comment ability
$datarray['last-child'] = 0;