Merge "notification" routes

This commit is contained in:
nupplaPhil 2020-01-28 23:21:24 +01:00
parent dd8d9d7c70
commit c2b8c65104
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
8 changed files with 16 additions and 15 deletions

View file

@ -219,7 +219,7 @@ class Notification extends BaseFactory
foreach ($notifications as $notification) {
$formattedNotifications[] = new \Friendica\Object\Notification\Notification([
'label' => 'notification',
'link' => $this->baseUrl->get(true) . '/notification/view/' . $notification->id,
'link' => $this->baseUrl->get(true) . '/notification/' . $notification->id,
'image' => Proxy::proxifyUrl($notification->photo, false, Proxy::SIZE_MICRO),
'url' => $notification->url,
'text' => strip_tags(BBCode::convert($notification->msg)),