mirror of
https://github.com/logos-messaging/libchat.git
synced 2026-08-26 07:31:09 +00:00
Add GroupV1
This commit is contained in:
+12
-2
@@ -10,8 +10,8 @@ use std::collections::HashSet;
|
||||
use crypto::{Identity, PrivateKey};
|
||||
use rusqlite::{Transaction, params};
|
||||
use storage::{
|
||||
ConversationKind, ConversationMeta, ConversationStore, EphemeralKeyStore, IdentityStore,
|
||||
RatchetStateRecord, RatchetStore, SkippedKeyRecord, StorageError,
|
||||
ChatStore, ConversationKind, ConversationMeta, ConversationStore, EphemeralKeyStore,
|
||||
IdentityStore, RatchetStateRecord, RatchetStore, SkippedKeyRecord, StorageError,
|
||||
};
|
||||
use zeroize::Zeroize;
|
||||
|
||||
@@ -532,6 +532,16 @@ fn blob_to_array<const N: usize>(
|
||||
.map_err(|_| invalid_blob_length(field, N, actual))
|
||||
}
|
||||
|
||||
// impl GroupMlsStorageV1 for ChatStorage {
|
||||
// fn save_state(&self, convo_id: &str, state: &[u8]) {
|
||||
// todo!()
|
||||
// }
|
||||
|
||||
// fn load_state(&self, convo_id: &str) -> Vec<u8> {
|
||||
// todo!()
|
||||
// }
|
||||
// }
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use storage::{
|
||||
|
||||
Reference in New Issue
Block a user