mirror of
https://github.com/friendica/friendica
synced 2025-04-24 13:50:10 +00:00
Add legacy notification endpoint for deprecated Notify entity
- Add dependencies to Notifications\Notification module class
This commit is contained in:
parent
deafdcde95
commit
b7cee324b0
7 changed files with 112 additions and 50 deletions
|
@ -214,7 +214,7 @@ class FormattedNotify extends BaseFactory
|
|||
foreach ($Notifies as $Notify) {
|
||||
$formattedNotifications[] = new ValueObject\FormattedNotify(
|
||||
'notification',
|
||||
$this->baseUrl->get(true) . '/notification/' . $Notify->id,
|
||||
$this->baseUrl->get(true) . '/notify/' . $Notify->id,
|
||||
Contact::getAvatarUrlForUrl($Notify->url, $Notify->uid, Proxy::SIZE_MICRO),
|
||||
$Notify->url,
|
||||
strip_tags(BBCode::toPlaintext($Notify->msg)),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue