Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate webxdc sendUpdate's desc parameter #6245

Open
adbenitez opened this issue Nov 21, 2024 · 0 comments
Open

Deprecate webxdc sendUpdate's desc parameter #6245

adbenitez opened this issue Nov 21, 2024 · 0 comments
Labels

Comments

@adbenitez
Copy link
Member

adbenitez commented Nov 21, 2024

as commented in #6230 (comment)

the desc field is unnecessary, was never needed/used by other implementators that raised questions about it, ex. in XMPP, it was a DeltaChat-specific thing mainly, to show something nice to a classic email user, but that doesn't make much sense anyways as status updates can be a lot and are internal data not supposed to be analyzed or described manually

  • so we should keep it but deprecate it, don't use it internally
  • the webxdc specs need to be updated
  • the UIs need to update their webxdc.js file to not fail if the desc argument is not given

this is a backwards compatible change since in javascript you can call functions with arbitrary amount of extra arguments and they will just be ignored/unused

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant