aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-02-20 18:06:43 -0800
committerfriendica <info@friendica.com>2012-02-20 18:06:43 -0800
commit11871195be019bb05c7c41dbb4a980fffce41697 (patch)
tree08cd47c359d9f19ff0fa9461f923e88d79e7d038 /include/items.php
parent4fbd93f7e7237530cf291ca473591dea1f680270 (diff)
downloadvolse-hubzilla-11871195be019bb05c7c41dbb4a980fffce41697.tar.gz
volse-hubzilla-11871195be019bb05c7c41dbb4a980fffce41697.tar.bz2
volse-hubzilla-11871195be019bb05c7c41dbb4a980fffce41697.zip
fix twitter title showing up occasionally
Diffstat (limited to 'include/items.php')
-rwxr-xr-xinclude/items.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/items.php b/include/items.php
index f4837449d..f87a92334 100755
--- a/include/items.php
+++ b/include/items.php
@@ -1700,7 +1700,7 @@ function consume_feed($xml,$importer,&$contact, &$hub, $datedir = 0, $pass = 0)
if(! is_array($contact))
return;
- if($contact['network'] === NETWORK_OSTATUS || stristr($permalink,'twitter.com')) {
+ if($contact['network'] === NETWORK_OSTATUS || stristr($contact['url'],'twitter.com')) {
if(strlen($datarray['title']))
unset($datarray['title']);
$datarray['last-child'] = 1;
@@ -2074,7 +2074,7 @@ function local_delivery($importer,$data) {
$datarray = get_atom_elements($feed,$item);
- // TODO: make this next part work against both delivery threads of a community post
+ // TODO: make this next part work against both delivery threads of a community post
// if((! link_compare($datarray['author-link'],$importer['url'])) && (! $community)) {
// logger('local_delivery: received relay claiming to be from ' . $importer['url'] . ' however comment author url is ' . $datarray['author-link'] );