Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gajim/common/modules/mam.py')
-rw-r--r--gajim/common/modules/mam.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/gajim/common/modules/mam.py b/gajim/common/modules/mam.py
index acd8e3710..b50cfe322 100644
--- a/gajim/common/modules/mam.py
+++ b/gajim/common/modules/mam.py
@@ -302,6 +302,10 @@ class MAM(BaseModule):
occupant_id = self._get_occupant_id(properties)
real_jid = self._get_real_jid(properties)
+ displaymarking = None
+ if properties.has_security_label:
+ displaymarking = properties.security_label.displaymarking
+
event_attr: dict[str, Any] = {
'account': self._account,
'jid': jid,
@@ -314,6 +318,7 @@ class MAM(BaseModule):
'kind': kind,
'occupant_id': occupant_id,
'real_jid': real_jid,
+ 'displaymarking': displaymarking
}
if check_if_message_correction(properties,