diff --git a/internal/pushrules/condition.go b/internal/pushrules/condition.go index 2d9773c0f..dd93cbc6e 100644 --- a/internal/pushrules/condition.go +++ b/internal/pushrules/condition.go @@ -14,7 +14,7 @@ type Condition struct { // Pattern indicates the value pattern that must match. Required // for EventMatchCondition. - Pattern string `json:"pattern,omitempty"` + Pattern string `json:"pattern"` // Is indicates the condition that must be fulfilled. Required for // RoomMemberCountCondition.