Add some utility methods to tags
This commit is contained in:
+3
-1
@@ -234,7 +234,9 @@ impl Kind for Deletion {
|
||||
}
|
||||
|
||||
fn to_content(&self) -> EventContent {
|
||||
EventContent::new(self.reason.clone(), self.tags.clone())
|
||||
EventContent::new()
|
||||
.content(self.reason.clone())
|
||||
.tags(self.tags.clone())
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user