changeset 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 65059d833067
children
files libervia/backend/plugins/plugin_xep_0277.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libervia/backend/plugins/plugin_xep_0277.py	Fri Sep 05 19:32:47 2025 +0200
+++ b/libervia/backend/plugins/plugin_xep_0277.py	Sat Sep 06 16:31:24 2025 +0200
@@ -139,6 +139,8 @@
     encrypted: bool = False
     encrypted_for: dict | None = None
     signed: bool = False
+    # FIXME: Must be moved to XEP-0372 plugin.
+    mentions: list[JIDType] = Field(default_factory=list)
 
 
 class MbData(BaseModel):