mirror of
https://github.com/friendica/friendica
synced 2025-04-27 15:50:12 +00:00
Some more "convertForUriId" replacements
This commit is contained in:
parent
c151376596
commit
07d2dfcd60
15 changed files with 33 additions and 133 deletions
|
@ -314,14 +314,9 @@ function message_content(App $a)
|
|||
$sparkle = ' sparkle';
|
||||
}
|
||||
|
||||
$extracted = item_extract_images($message['body']);
|
||||
if ($extracted['images']) {
|
||||
$message['body'] = item_redir_and_replace_images($extracted['body'], $extracted['images'], $message['contact-id']);
|
||||
}
|
||||
|
||||
$from_name_e = $message['from-name'];
|
||||
$subject_e = $message['title'];
|
||||
$body_e = BBCode::convert($message['body']);
|
||||
$body_e = BBCode::convertForUriId($message['uri-id'], $message['body']);
|
||||
$to_name_e = $message['name'];
|
||||
|
||||
$contact = Contact::getByURL($message['from-url'], false, ['thumb', 'addr', 'id', 'avatar']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue