Skip to content

what is the expected behaviour when setting the actions/enabled on a non-existent rule? #2655

Closed
@richvdh

Description

@richvdh

What is a server meant to do when you call PUT /_matrix/client/r0/pushrules/global/underride/rule_i_made_up/enabled ? Synapse accepts calls to .../enabled (storing the enabled flag for any future rule that gets created), but rejects calls to .../actions, all of which feels very buggy.

(Synapse even allows you to set the 'enabled' bit on non-existent .m.rule.* rules)

Metadata

Metadata

Assignees

Labels

clarificationAn area where the spec could do with being more explicitclient-serverClient-Server APIpush

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions