From 3b8a2ca2d7ec433fcc0dfc0503ce6f7ed09a3e34 Mon Sep 17 00:00:00 2001 From: Doug Date: Wed, 20 Jul 2022 13:02:23 +0100 Subject: [PATCH] Add missing path method to IndexeddbStore. --- crates/matrix-sdk-indexeddb/src/state_store.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/crates/matrix-sdk-indexeddb/src/state_store.rs b/crates/matrix-sdk-indexeddb/src/state_store.rs index 865d9760f..f48da27b4 100644 --- a/crates/matrix-sdk-indexeddb/src/state_store.rs +++ b/crates/matrix-sdk-indexeddb/src/state_store.rs @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -use std::{collections::BTreeSet, sync::Arc}; +use std::{collections::BTreeSet, path::PathBuf, sync::Arc}; use anyhow::anyhow; use async_trait::async_trait; @@ -1278,6 +1278,10 @@ impl IndexeddbStore { #[async_trait(?Send)] impl StateStore for IndexeddbStore { + fn path(&self) -> Option { + None + } + async fn save_filter(&self, filter_name: &str, filter_id: &str) -> StoreResult<()> { self.save_filter(filter_name, filter_id).await.map_err(|e| e.into()) }