pruneEventDict and signEvent's `prune` flag should go away entirely, replaced by

Aperta
#411 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

@sampaiodiego ci sta già lavorando.

Dal 31/8/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

todo :spiral_notepad: type: feature

PersistentEventFactory.createFromRawEvent(event, roomVersion).redactedEvent. Blocked on migrating the 28 remaining signEvent(..., prune=true) call sites in packages/core/src/events/*.spec.ts. m.room.create.spec.ts already signs the same fixture both ways and gets an identical signature, so the migration should preserve every hardcoded signature fixture rather than require regenerating them — a failure there would be a real divergence between the two redaction implementations.


https://github.com/RocketChat/homeserver/blob/3539adcd7ea7b98481889bcd1ebb73223bf64c21/packages/core/src/utils/pruneEventDict.spec.ts#L41-L43


This issue was generated by todo-issue based on a TODO comment in 3539adcd7ea7b98481889bcd1ebb73223bf64c21. It's been assigned to @sampaiodiego because they committed the code.
Lingua principale
TypeScript
Stelle
17
Fork
18
Merge medio
2h 11m
PR unite (30g)
2

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di RocketChat/homeserver

Tutte le issue di RocketChat/homeserver

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.