fix diaspora reshare tags
This commit is contained in:
parent
f26cd5a636
commit
3d0d36b2bc
@ -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 ++;
|
||||
|
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user