refactor: use seen instead of read

Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
This commit is contained in:
2026-06-25 23:47:52 -04:00
parent a7ad86860d
commit 139b4df844
2 changed files with 3 additions and 3 deletions
@@ -282,7 +282,7 @@ abstract class MessagePropertiesBaseAbstract extends NodePropertiesBaseAbstract
*/
public function getFlags(): array {
return $this->data[static::PROPERTY_FLAGS] ?? [
'read' => false,
'seen' => false,
'starred' => false,
'important' => false,
'answered' => false,
@@ -295,7 +295,7 @@ abstract class MessagePropertiesMutableAbstract extends MessagePropertiesBaseAbs
public function setFlags(array $value): static {
if (!isset($this->data[static::PROPERTY_FLAGS])) {
$this->data[static::PROPERTY_FLAGS] = [
'read' => false,
'seen' => false,
'starred' => false,
'important' => false,
'answered' => false,
@@ -315,7 +315,7 @@ abstract class MessagePropertiesMutableAbstract extends MessagePropertiesBaseAbs
public function setFlag(string $name, bool $value): static {
if (!isset($this->data[static::PROPERTY_FLAGS])) {
$this->data[static::PROPERTY_FLAGS] = [
'read' => false,
'seen' => false,
'starred' => false,
'important' => false,
'answered' => false,