Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Commit

Permalink
Fix inverse related match serialize keys
Browse files Browse the repository at this point in the history
  • Loading branch information
Fizzadar committed May 9, 2023
1 parent 2a0c051 commit b4b6ef6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions rust/src/push/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -334,12 +334,14 @@ pub enum KnownCondition {
EventPropertyIs(EventPropertyIsCondition),
#[serde(rename = "im.nheko.msc3664.related_event_match")]
RelatedEventMatch(RelatedEventMatchCondition),
#[serde(rename = "im.nheko.msc3664.related_event_match")]
// Inverse of the related event match
#[serde(rename = "im.nheko.msc3664.inverse_related_event_match")]
InverseRelatedEventMatch(RelatedEventMatchCondition),
// Identical to related_event_match but gives predefined patterns. Cannot be added by users.
#[serde(skip_deserializing, rename = "im.nheko.msc3664.related_event_match")]
RelatedEventMatchType(RelatedEventMatchTypeCondition),
#[serde(skip_deserializing, rename = "im.nheko.msc3664.related_event_match")]
// Inverse of related event match type
#[serde(skip_deserializing, rename = "im.nheko.msc3664.inverse_related_event_match")]
InverseRelatedEventMatchType(RelatedEventMatchTypeCondition),
EventPropertyContains(EventPropertyIsCondition),
// Identical to exact_event_property_contains but gives predefined patterns. Cannot be added by users.
Expand Down

0 comments on commit b4b6ef6

Please sign in to comment.