mirror of
https://github.com/friendica/friendica
synced 2025-04-24 13:50:10 +00:00
Detect and remove contact duplicates
This commit is contained in:
parent
636325efcc
commit
79b64cc44f
15 changed files with 281 additions and 60 deletions
|
@ -31,7 +31,6 @@ use Friendica\Model\Contact;
|
|||
use Friendica\Model\Post;
|
||||
use Friendica\Model\Subscription as ModelSubscription;
|
||||
use Friendica\Model\User;
|
||||
use Friendica\Navigation\Notifications;
|
||||
use Friendica\Network\HTTPException\NotFoundException;
|
||||
use Minishlink\WebPush\WebPush;
|
||||
use Minishlink\WebPush\Subscription;
|
||||
|
@ -91,7 +90,7 @@ class PushSubscription
|
|||
}
|
||||
|
||||
$message = DI::notificationFactory()->getMessageFromNotification($notification);
|
||||
$title = $message['plain'] ?: '';
|
||||
$title = $message['plain'] ?? '';
|
||||
|
||||
$push = Subscription::create([
|
||||
'contentEncoding' => 'aesgcm',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue