matrix-org / matrix-org/matrix-rust-sdk-crypto-nodejs
Expose `OlmMachine::discard_room_key`
Open
Nobody has claimed this yet.
- #47 by @liemlylac — closed without merging
- Dominant language
- Rust
- Stars
- 11
- Forks
- 23
- Avg merge
- 22h 12m
- Merged PRs (30d)
- 1
Description
Sometime when using bot-sdk I want bot can discard room key and will generate a new one. Found that matrix-rust-sdk has function like this used for matrix-js-sdk.
Could you please export function `discard_room_key`?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the OlmMachine binding and the existing discard_room_key implementation in matrix-rust-sdk. Compare how the function is exposed for matrix-js-sdk, then verify that bot-sdk callers can invoke it and that a new room key is generated as requested.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- api, cryptography
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100