Fix account id of notifications

This commit is contained in:
Michael 2021-06-01 22:00:12 +00:00
parent fc0d81d59a
commit d3833f63e0

View file

@ -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 {