mirror of
https://github.com/friendica/friendica
synced 2025-04-27 23:50:10 +00:00
Fix: Use correct follow notification texts
This commit is contained in:
parent
78a0c98a11
commit
7b219718c4
3 changed files with 98 additions and 89 deletions
|
@ -126,8 +126,7 @@ class Notification extends BaseFactory implements ICanCreateFromTableRow
|
|||
}
|
||||
|
||||
if ($Notification->type === Post\UserNotification::TYPE_NONE) {
|
||||
$localRelationship = $this->localRelationshipRepo->getForUserContact($Notification->uid, $Notification->actorId);
|
||||
if ($localRelationship->pending) {
|
||||
if ($causer['pending']) {
|
||||
$msg = $this->l10n->t('%1$s wants to follow you');
|
||||
} else {
|
||||
$msg = $this->l10n->t('%1$s has started following you');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue