feat: handle txn ids

This commit is contained in:
Timo 2020-08-25 13:24:38 +02:00
parent 6343eea417
commit 4954df3cc3
No known key found for this signature in database
GPG key ID: 24DA7517711A2BA4
8 changed files with 111 additions and 9 deletions

View file

@ -71,7 +71,9 @@ impl PduEvent {
self.unsigned.insert(
"redacted_because".to_owned(),
serde_json::to_string(reason).expect("PduEvent::to_string always works").into()
serde_json::to_string(reason)
.expect("PduEvent::to_string always works")
.into(),
);
self.content = new_content.into();