maybe solves the notification issue on gnusocial.de https://gnusocial.de/notice/6701227
This commit is contained in:
parent
4485bbd2c6
commit
c5285189ae
|
@ -93,7 +93,13 @@ class ApiQvitterNotificationsAction extends ApiPrivateAuthAction
|
|||
if($notification->notice_id === null) {
|
||||
continue;
|
||||
} else {
|
||||
$notice = self::twitterSimpleStatusArray(Notice::getKV($notification->notice_id));
|
||||
$notice_object = Notice::getKV($notification->notice_id);
|
||||
if($notice_object instanceof Notice) {
|
||||
$notice = self::twitterSimpleStatusArray($notice_object);
|
||||
} else {
|
||||
continue;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user