mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-07 15:54:26 +02:00
Use public contact ID in Model\Post\UserNotification::insertNotification
- Add localRelationship dependency to Notification factory - Remove dependencies from Factory\Notification->getMessageFromNotification method
This commit is contained in:
parent
7ce97459d4
commit
deafdcde95
8 changed files with 105 additions and 70 deletions
|
@ -82,7 +82,7 @@ class PushSubscription
|
|||
}
|
||||
}
|
||||
|
||||
$message = DI::notificationFactory()->getMessageFromNotification($Notification, DI::baseUrl(), $l10n);
|
||||
$message = DI::notificationFactory()->getMessageFromNotification($Notification);
|
||||
$title = $message['plain'] ?: '';
|
||||
|
||||
$push = Subscription::create([
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue