Private
Public Access
1
0

weird: need to filter out bidi control characters from sender handles from server

This commit is contained in:
2025-06-26 18:32:53 -07:00
parent f6bb1a9b57
commit 5a399cc6ca
2 changed files with 24 additions and 11 deletions

View File

@@ -279,8 +279,6 @@ impl DbusRepository for DBusAgent {
// Remove the attachment placeholder here.
let text = msg.text.replace("\u{FFFC}", "");
log::debug!("sender: {:?}", msg.sender.clone());
map.insert("text".into(), arg::Variant(Box::new(text)));
map.insert(
"date".into(),
@@ -291,8 +289,6 @@ impl DbusRepository for DBusAgent {
arg::Variant(Box::new(self.resolve_participant_display_name(&msg.sender.into()))),
);
// Attachments array
let attachments: Vec<arg::PropMap> = msg
.attachments