mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-07 15:54:26 +02: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
|
@ -903,18 +903,18 @@ return [
|
|||
[
|
||||
'id' => 1,
|
||||
'type' => 8,
|
||||
'name' => 'Reply to',
|
||||
'url' => 'http://localhost/display/1',
|
||||
'name' => 'Friend contact',
|
||||
'url' => 'http://localhost/profile/friendcontact',
|
||||
'photo' => 'http://localhost/',
|
||||
'date' => '2020-01-01 12:12:02',
|
||||
'msg' => 'A test reply from an item',
|
||||
'uid' => 42,
|
||||
'link' => 'http://localhost/notification/1',
|
||||
'link' => 'http://localhost/display/1',
|
||||
'iid' => 4,
|
||||
'seen' => 0,
|
||||
'verb' => \Friendica\Protocol\Activity::POST,
|
||||
'otype' => Notification\ObjectType::ITEM,
|
||||
'name_cache' => 'Reply to',
|
||||
'name_cache' => 'Friend contact',
|
||||
'msg_cache' => 'A test reply from an item',
|
||||
],
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue