From 944b7cc2be16a7afbc1ef8324f81708526ba3751 Mon Sep 17 00:00:00 2001 From: Ali Hesari Date: Sun, 20 Sep 2026 02:55:05 +0200 Subject: [PATCH] feat(inbox): carry a comment's moderation status and an account's reconnect flag --- src/fopost/models.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/fopost/models.py b/src/fopost/models.py index 7a0b4ec..8aefc9e 100644 --- a/src/fopost/models.py +++ b/src/fopost/models.py @@ -573,6 +573,8 @@ class InboxItem(FopostModel): can_send_media: bool | None = None can_quick_reply: bool | None = None can_private_reply: bool | None = None + #: The platform's own moderation state: published, held, spam or rejected. + moderation_status: str | None = None post: dict[str, Any] | None = None post_context: InboxPostContext | None = None account: InboxAccountRef | None = None @@ -620,6 +622,8 @@ class InboxAccount(FopostModel): dm_supported: bool | None = None dm_pending_reason: str | None = None can_start_conversation: bool | None = None + #: The grant predates a permission the inbox needs; reconnect the account once. + reconnect_required: bool | None = None class InboxPlatform(FopostModel):