weird: need to filter out bidi control characters from sender handles from server
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user