Skip to content

Commit

Permalink
Add Empty Key to disable override section
Browse files Browse the repository at this point in the history
  • Loading branch information
FSG-Cat committed Aug 11, 2023
1 parent f880934 commit fda11ae
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions proposals/4043-presence-override-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,14 @@ And you will get back a response that is like the example below if your override
}
```

And to disable override you send a payload with a empty `presence_override` key like the example below.

```json
{
"presence_override": ""
}
```

As for error codes this is currently WIP but it follows a similar pattern to the current `/_matrix/client/v3/presence/{userId}/status`
endpoint. With minor reasonable adaptations like how presence is replaced with presence override where sensible.

Expand Down

0 comments on commit fda11ae

Please sign in to comment.