Fixes for the notifications

This commit is contained in:
Michael 2022-03-19 09:27:49 +00:00
parent 61e023d448
commit 1fe756b5b6
5 changed files with 34 additions and 23 deletions

View file

@ -183,8 +183,6 @@ class Ping extends BaseModule
}
}
// Temporary workaround for notifications without messages like with the following verb:
// - \Friendica\Protocol\Activity::ANNOUNCE
$navNotifications = array_map(function (Entity\Notification $notification) {
try {
return $this->formattedNavNotification->createFromNotification($notification);