mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 16:15:13 +00:00
gateway url repeated on image uploads
This commit is contained in:
parent
55a26cd8c3
commit
45514db329
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ class Wall_attach extends Controller
|
|||
$s = EMPTY_STR;
|
||||
|
||||
if (intval($r['data']['is_photo'])) {
|
||||
$s .= "\n\n" . str_replace(z_root() , Channel::getDidResolver($channel), $r['body']) . "\n";
|
||||
$s .= "\n\n" . $r['body'] . "\n";
|
||||
}
|
||||
|
||||
$url = Channel::getDidResolver($channel) . '/files/' . $r['data']['display_path'];
|
||||
|
|
Loading…
Reference in a new issue