mirror of
https://github.com/friendica/friendica
synced 2025-04-27 19:50:12 +00: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
|
@ -732,7 +732,7 @@ class Notify extends BaseRepository
|
|||
$subject = $l10n->t('%1$s Comment to conversation #%2$d by %3$s', $subjectPrefix, $item['parent'], $contact['name']);
|
||||
}
|
||||
|
||||
$msg = $this->notification->getMessageFromNotification($Notification, $this->baseUrl, $l10n);
|
||||
$msg = $this->notification->getMessageFromNotification($Notification);
|
||||
if (empty($msg)) {
|
||||
$this->logger->info('No notification message, quitting', ['uid' => $Notification->uid, 'id' => $Notification->id, 'type' => $Notification->type]);
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue