mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-10-31 16:22:49 +00:00
Remove unnecessary call to fetchElementWellKnown when the value was up to date in the store in DefaultWellknownRetriever
This commit is contained in:
committed by
Jorge Martin Espinosa
parent
e92016c68e
commit
dbc28df3eb
-1
@@ -68,7 +68,6 @@ class DefaultWellknownRetriever(
|
||||
return when (val cacheData = store.get(checkedHost)) {
|
||||
is WellknownRetrieverResult.Success -> {
|
||||
Timber.d("Using cached well-known for domain $checkedHost")
|
||||
fetchElementWellKnown(checkedHost, source, store)
|
||||
cacheData
|
||||
}
|
||||
is WellknownRetrieverResult.Outdated -> {
|
||||
|
||||
Reference in New Issue
Block a user