Removed useless code

This commit is contained in:
Sylvain Berfini 2020-12-03 14:10:41 +01:00
parent 611fe4cf29
commit 6839c53e6c
2 changed files with 0 additions and 15 deletions

View file

@ -49,18 +49,6 @@ class AsyncContactsLoader(private val context: Context) :
override fun onPreExecute() {
if (isCancelled) return
Log.i("[Contacts Loader] Synchronization started")
val core = coreContext.core
if (core.isFriendListSubscriptionEnabled) {
val rls: String = corePreferences.rlsUri
for (list in core.friendsLists) {
val rlsAddress = list.rlsAddress
if (rlsAddress == null || rlsAddress.asStringUriOnly() != rls) {
Log.i("[Contacts Loader] Friend list RLS URI updated to: $rls")
list.rlsUri = rls
}
}
}
}
override fun doInBackground(vararg args: Void): AsyncContactsData {

View file

@ -274,9 +274,6 @@ class CorePreferences constructor(private val context: Context) {
val hideContactsWithoutPresence: Boolean
get() = config.getBool("app", "hide_contacts_without_presence", false)
val rlsUri: String
get() = config.getString("app", "rls_uri", "sip:rls@sip.linphone.org")!!
val conferenceServerUri: String
get() = config.getString(
"app",