From: Michael Date: Tue, 1 Jun 2021 22:00:12 +0000 (+0000) Subject: Fix account id of notifications X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d3833f63e041336c65e0bda8cd43c04f3bc9f73f;p=friendica.git Fix account id of notifications --- diff --git a/src/Factory/Api/Mastodon/Notification.php b/src/Factory/Api/Mastodon/Notification.php index ea7fa021f4..e1fc80e298 100644 --- a/src/Factory/Api/Mastodon/Notification.php +++ b/src/Factory/Api/Mastodon/Notification.php @@ -66,7 +66,7 @@ class Notification extends BaseFactory return null; } - $account = DI::mstdnAccount()->createFromContactId($notification['actor-id']); + $account = DI::mstdnAccount()->createFromContactId($notification['actor-id'], $notification['uid']); if (!empty($notification['target-uri-id'])) { try {