element-hq / element-hq/dendrite

Assertions needed to catch zero NIDs

Aperta
#955 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
C-Roomserver T-Defect
Lingua principale
Go
Stelle
965
Fork
101
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

*This issue was originally created by [**@neilalexander**](https://github.com/neilalexander) at .*

All NIDs (event, event type, state block, state snapshot, event state key, room, etc) always start from `1`, but there are sometimes cases where bugs cause us to request `0` NIDs. We should put some assertion to catch these bugs as they happen.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.