Add exception when message is empty in FormatteNavNotification::createFromNotification
- Filter out message less notifications in Ping
This commit is contained in:
parent
ee60c96269
commit
73c7b88fb2
4 changed files with 54 additions and 5 deletions
|
@ -21,12 +21,12 @@
|
|||
|
||||
namespace Friendica\Navigation\Notifications\ValueObject;
|
||||
|
||||
use Friendica\BaseDataTransferObject;
|
||||
use Friendica\BaseEntity;
|
||||
|
||||
/**
|
||||
* A view-only object for printing item notifications to the frontend
|
||||
*/
|
||||
class FormattedNavNotification extends BaseDataTransferObject
|
||||
class FormattedNavNotification extends BaseEntity
|
||||
{
|
||||
/** @var array */
|
||||
protected $contact;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue