comparison libervia/backend/plugins/plugin_xep_0277.py @ 4397:6e3a0ef1c561 default tip

plugin XEP-0277: add `mentions` to extra data: rel 463
author Goffi <goffi@goffi.org>
date Sat, 06 Sep 2025 16:31:24 +0200
parents 7c1d77efc752
children
comparison
equal deleted inserted replaced
4396:65059d833067 4397:6e3a0ef1c561
137 alt_links: list[AltLink] = Field(default_factory=list) 137 alt_links: list[AltLink] = Field(default_factory=list)
138 # FIXME: Must be moved to pubsub signing plugin. 138 # FIXME: Must be moved to pubsub signing plugin.
139 encrypted: bool = False 139 encrypted: bool = False
140 encrypted_for: dict | None = None 140 encrypted_for: dict | None = None
141 signed: bool = False 141 signed: bool = False
142 # FIXME: Must be moved to XEP-0372 plugin.
143 mentions: list[JIDType] = Field(default_factory=list)
142 144
143 145
144 class MbData(BaseModel): 146 class MbData(BaseModel):
145 id: str | None = None 147 id: str | None = None
146 atom_id: str | None = None 148 atom_id: str | None = None