edit is displayed in the WYSIWYG, but the send button still sends a new message instead of correcting the edit

This commit is contained in:
Mauro Romito
2022-10-07 18:35:13 +02:00
parent c0f58a3938
commit ea73b2c2ff
4 changed files with 28 additions and 4 deletions
@@ -222,8 +222,11 @@ extension RoomDataSource {
return editableTextMessage
}
@objc func editableHtmlTextMessage(for event: MXEvent) -> String? {
let body: String = event.content["formatted_body"] as? String ?? event.content["body"] as? String ?? ""
return body
}
}
// MARK: - Private Helpers