mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-11 17:44:27 +02:00
Add dismissed field to Mastodon API Notification types
This commit is contained in:
parent
35ca4961d2
commit
a27ffda59f
2 changed files with 7 additions and 2 deletions
|
@ -70,7 +70,9 @@ class Notification extends BaseFactory
|
|||
$status = null;
|
||||
}
|
||||
|
||||
return new MstdnNotification($Notification->id, $type, $Notification->created, $account, $status);
|
||||
$dismissed = $Notification->dismissed;
|
||||
|
||||
return new MstdnNotification($Notification->id, $type, $Notification->created, $account, $status, $dismissed);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue