feat/bunch-of-changes #29

Merged
Sebastian merged 4 commits from feat/bunch-of-changes into main 2026-02-21 14:18:58 +00:00
2 changed files with 4 additions and 0 deletions
Showing only changes of commit c310b96a26 - Show all commits

View File

@@ -391,6 +391,9 @@ abstract class MessagePropertiesBaseAbstract extends NodePropertiesBaseAbstract
if (!empty($this->data['attachments'])) { if (!empty($this->data['attachments'])) {
$data[self::JSON_PROPERTY_ATTACHMENTS] = $this->data['attachments']; $data[self::JSON_PROPERTY_ATTACHMENTS] = $this->data['attachments'];
} }
if (!empty($this->data['flags'])) {
$data[self::JSON_PROPERTY_FLAGS] = $this->data['flags'];
}
$data[self::JSON_PROPERTY_SUBJECT] = $this->data['subject'] ?? null; $data[self::JSON_PROPERTY_SUBJECT] = $this->data['subject'] ?? null;
$data[self::JSON_PROPERTY_BODY] = $this->data['body'] ?? null; $data[self::JSON_PROPERTY_BODY] = $this->data['body'] ?? null;

View File

@@ -37,6 +37,7 @@ interface MessagePropertiesBaseInterface extends NodePropertiesBaseInterface {
public const JSON_PROPERTY_SNIPPET = 'snippet'; public const JSON_PROPERTY_SNIPPET = 'snippet';
public const JSON_PROPERTY_BODY = 'body'; public const JSON_PROPERTY_BODY = 'body';
public const JSON_PROPERTY_ATTACHMENTS = 'attachments'; public const JSON_PROPERTY_ATTACHMENTS = 'attachments';
public const JSON_PROPERTY_FLAGS = 'flags';
public const JSON_PROPERTY_TAGS = 'tags'; public const JSON_PROPERTY_TAGS = 'tags';
/** /**