fix diaspora reshare tags

This commit is contained in:
friendica 2014-10-10 19:14:37 -07:00
parent f26cd5a636
commit 3d0d36b2bc
2 changed files with 3 additions and 1 deletions

View File

@ -85,6 +85,8 @@ function externals_run($argv, $argc){
if($j['success'] && $j['messages']) {
$sys = get_sys_channel();
foreach($j['messages'] as $message) {
// on these posts, clear any route info.
$message['route'] = '';
$results = process_delivery(array('hash' => 'undefined'), get_item_elements($message),
array(array('hash' => $sys['xchan_hash'])), false, true);
$total ++;

View File

@ -979,7 +979,7 @@ function handle_tag($a, &$body, &$access_tag, &$str_tags, $profile_uid, $tag) {
}
}
// if the tag is already replaced...
elseif(strpos($tag,'[zrl=')) {
elseif((strpos($tag,'[zrl=')) || (strpos($tag,'[url='))) {
//...do nothing
return $replaced;
}