Skip to content

Conversation

@Simon-Laux
Copy link
Contributor

@Simon-Laux Simon-Laux commented Oct 26, 2025

  • DC_CERTCK_*, DC_SOCKET_*, DC_LP_AUTH_* are not used anymore,
    EnteredLoginParam has their own representations for these values which
    are not number based.
  • DC_PUSH_* the api returning that is not yet
    part of jsonrpc and when it will be, then it will return an
    enum/string-union anyways
  • DC_TEXT1_* the type is not returned by the
    jsonrpc api

- `DC_CERTCK_*`, `DC_SOCKET_*`, `DC_LP_AUTH_*` are not used anymore,
`EnteredLoginParam` has their own representations for these values which
are not number based. - `DC_PUSH_*` the api returning that is not yet
part of jsonrpc and when it will be, then it will return an
enum/string-union anyways - `DC_TEXT1_*` the type is not returned by the
jsonrpc api
Comment on lines +44 to +46
key.startsWith("DC_CERTCK_") ||
key.startsWith("DC_SOCKET_") ||
key.startsWith("DC_LP_AUTH_") ||
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess we could also mark them as deprecated first?
I think it is still possible to configure an account via set config and configure?

(will be replaced by add_transport eventually)

@Simon-Laux Simon-Laux requested a review from link2xt October 26, 2025 15:26
@Simon-Laux Simon-Laux merged commit b920552 into main Oct 28, 2025
29 checks passed
@Simon-Laux Simon-Laux deleted the simon/remove-unused-constants-from-jsonrpc branch October 28, 2025 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants