Add exception when message is empty in FormatteNavNotification::createFromNotification
- Filter out message less notifications in Ping
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user