mirror of
https://github.com/element-hq/synapse.git
synced 2026-06-04 03:51:28 +00:00
Remove redacted_because TODO
This commit is contained in:
@@ -89,8 +89,6 @@ pub fn compute_event_reference_hash(
|
||||
///
|
||||
/// Events redacted with this function are meant to be sent over federation.
|
||||
pub fn redact(event: &Value, room_version: &RoomVersion) -> anyhow::Result<Value> {
|
||||
// TODO: add redacted because when needed
|
||||
|
||||
let mut allowed_keys = BTreeSet::from([
|
||||
(EVENT_ID),
|
||||
(SENDER),
|
||||
|
||||
Reference in New Issue
Block a user