fix(sdk): Remove the custom storage methods from the Client

master
Damir Jelić 2021-09-09 11:54:08 +02:00
parent 5be7bb980d
commit 85fde6796a
1 changed files with 0 additions and 10 deletions

View File

@ -828,16 +828,6 @@ impl Client {
self.base_client.store()
}
/// Store a value in the custom tree on the store
pub async fn store_save_value(&self, key: &[u8], value: Vec<u8>) -> Result<Option<Vec<u8>>> {
Ok(self.store().set_custom_value(key, value).await?)
}
/// Get a value in the custom tree in the store
pub async fn store_get_value(&self, key: &[u8]) -> Result<Option<Vec<u8>>> {
Ok(self.store().get_custom_value(key).await?)
}
/// Sets the mxc avatar url of the client's owner. The avatar gets unset if
/// `url` is `None`.
pub async fn set_avatar_url(&self, url: Option<&MxcUri>) -> Result<()> {