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

synapse returns undocumented device property from GET /_matrix/client/v3/pushrules/ #12482

Closed
richvdh opened this issue Apr 14, 2022 · 1 comment · Fixed by #14727
Closed
Labels
A-Spec-Compliance places where synapse does not conform to the spec good first issue Good for newcomers P3 (OBSOLETE: use S- labels.) Approved backlog: not yet scheduled, will accept patches S-Tolerable Minor significance, cosmetic issues, low or no impact to users. T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues. X-Consult-Clients Need to investigate if this change breaks clients

Comments

@richvdh
Copy link
Member

richvdh commented Apr 14, 2022

Synapse's response to a /pushrules query looks something like:

[
  "global": {
    "content": { /*... */ },
    "override": { /*... */ },
    "room": { /*... */ },
    "sender": { /*... */ },
    "underride": { /*... */ }
  },
  "device": {}
]

This device property is not specced and should be removed.

@richvdh richvdh added A-Spec-Compliance places where synapse does not conform to the spec P3 (OBSOLETE: use S- labels.) Approved backlog: not yet scheduled, will accept patches S-Tolerable Minor significance, cosmetic issues, low or no impact to users. T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues. labels Apr 14, 2022
@richvdh richvdh added the good first issue Good for newcomers label Apr 15, 2022
JeyRathnam added a commit to JeyRathnam/synapse that referenced this issue Dec 15, 2022
JeyRathnam added a commit to JeyRathnam/synapse that referenced this issue Dec 15, 2022
@DMRobertson DMRobertson added the X-Consult-Clients Need to investigate if this change breaks clients label Dec 15, 2022
@DMRobertson
Copy link
Contributor

DMRobertson commented Dec 15, 2022

I have asked the client developers' room to double-check that no-one is using this field. https://matrix.to/#/!XXSJTvRPInupfUgQVb:matrix.org/$0adIq-vLha08iT0Hx3Gj-3VGQltT8Db63MptF0FZ-90?via=pixie.town&via=matrix.org&via=element.io

Are clients using this field?

pixlwave added a commit to matrix-org/matrix-ios-sdk that referenced this issue Jan 9, 2023
It's an un-specced property and will be removed per matrix-org/synapse#12482
pixlwave added a commit to matrix-org/matrix-ios-sdk that referenced this issue Jan 9, 2023
It's an un-specced property and will be removed per matrix-org/synapse#12482
pixlwave added a commit to matrix-org/matrix-ios-sdk that referenced this issue Jan 9, 2023
It's an un-specced property and will be removed per matrix-org/synapse#12482
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Spec-Compliance places where synapse does not conform to the spec good first issue Good for newcomers P3 (OBSOLETE: use S- labels.) Approved backlog: not yet scheduled, will accept patches S-Tolerable Minor significance, cosmetic issues, low or no impact to users. T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues. X-Consult-Clients Need to investigate if this change breaks clients
Projects
None yet
2 participants