Remove deprecated attach_selfavatar config

According to the comment it was added in Dec 2019
with an intention to remove it "after some time".
This commit is contained in:
link2xt
2023-01-12 14:41:41 +00:00
parent 5f883a4445
commit 1c44135b41
4 changed files with 10 additions and 12 deletions

View File

@@ -292,9 +292,6 @@ impl Context {
self.sql
.execute("UPDATE contacts SET selfavatar_sent=0;", paramsv![])
.await?;
self.sql
.set_raw_config_bool("attach_selfavatar", true)
.await?;
match value {
Some(value) => {
let mut blob = BlobObject::new_from_path(self, value.as_ref()).await?;