$this->muting = (bool)($contactRecord['readonly'] ?? false) || $muted;
$this->notifying = (bool)$contactRecord['notify_new_posts'] ?? false;
$this->blocking = (bool)($contactRecord['blocked'] ?? false) || $blocked;
+ $this->blocked_by = $isBlocked;
$this->note = $contactRecord['info'];
}
-
- return $this;
}
}
protected $pinned = false;
/** @var string */
protected $content;
- /** @var Status|null */
+ /** @var array */
+ protected $filtered = [];
+ /** @var Status[]|null */
protected $reblog = null;
- /** @var Status|null - Akkoma extension, see issue https://github.com/friendica/friendica/issues/12603 */
+ /** @var Status[]|null - Akkoma extension, see issue https://github.com/friendica/friendica/issues/12603 */
protected $quote = null;
- /** @var Application */
+ /** @var array */
protected $application = null;
- /** @var Account */
+ /** @var array */
protected $account;
- /** @var Attachment */
+ /** @var Attachment[] */
protected $media_attachments = [];
- /** @var Mention */
+ /** @var Mention[] */
protected $mentions = [];
- /** @var Tag */
+ /** @var Tag[] */
protected $tags = [];
/** @var Emoji[] */
protected $emojis = [];