Add wrapper types for short IDs

This commit is contained in:
Lambda 2024-08-27 14:27:12 +00:00
parent f1642c92d1
commit b0f33207fe
28 changed files with 427 additions and 232 deletions

View file

@ -383,6 +383,7 @@ fn count_to_id(
.ok_or_else(|| {
Error::bad_database("Looked for bad shortroomid in timeline")
})?
.get()
.to_be_bytes()
.to_vec();
let mut pdu_id = prefix.clone();