1
1
Fork 0

Merge pull request #10356 from annando/fix-account-id

Fix account id of notifications
This commit is contained in:
Hypolite Petovan 2021-06-01 18:24:34 -04:00 committed by GitHub
commit 6b374c01ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 {