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

NodeJS bindings: Support for MSC3983 #29

Open
turt2live opened this issue Mar 23, 2023 · 0 comments
Open

NodeJS bindings: Support for MSC3983 #29

turt2live opened this issue Mar 23, 2023 · 0 comments

Comments

@turt2live
Copy link
Member

(relative priority: low, as of writing)

MSC: matrix-org/matrix-spec-proposals#3983
bot-sdk(NodeJS) implementation: turt2live/matrix-bot-sdk#307

I think to make MSC3983 work over the bindings, we'd need a way (function? flag?) to tell the OlmMachine that it shouldn't bother doing /key/upload for anything other than the fallback keys. Then, a function to route the /keys/claim query into the OlmMachine to have it do stuff.

Note that the implementation effort here is effectively to treat all OTKs as "uploaded" then manually track which ones are used in claim responses, followed by which ones are actually used in toDevice messages. The last bit (toDevice messages) is already present.

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

No branches or pull requests

1 participant