From d3833f63e041336c65e0bda8cd43c04f3bc9f73f Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 1 Jun 2021 22:00:12 +0000 Subject: [PATCH] Fix account id of notifications --- src/Factory/Api/Mastodon/Notification.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Factory/Api/Mastodon/Notification.php b/src/Factory/Api/Mastodon/Notification.php index ea7fa021f..e1fc80e29 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 {