Renamed variable to increase code readability
This commit is contained in:
parent
794233c25a
commit
d623b597b5
1 changed files with 3 additions and 3 deletions
|
@ -119,17 +119,17 @@ class ContactsListViewModel : ViewModel() {
|
||||||
previousFilter = filterValue
|
previousFilter = filterValue
|
||||||
|
|
||||||
val domain = if (sipContactsSelected.value == true) coreContext.core.defaultAccount?.params?.domain ?: "" else ""
|
val domain = if (sipContactsSelected.value == true) coreContext.core.defaultAccount?.params?.domain ?: "" else ""
|
||||||
val filter = MagicSearchSource.Friends.toInt() or MagicSearchSource.LdapServers.toInt()
|
val sources = MagicSearchSource.Friends.toInt() or MagicSearchSource.LdapServers.toInt()
|
||||||
val aggregation = MagicSearchAggregation.Friend
|
val aggregation = MagicSearchAggregation.Friend
|
||||||
searchResultsPending = true
|
searchResultsPending = true
|
||||||
fastFetchJob?.cancel()
|
fastFetchJob?.cancel()
|
||||||
Log.i(
|
Log.i(
|
||||||
"[Contacts] Asking Magic search for contacts matching filter [$filterValue], domain [$domain] and in sources [$filter]"
|
"[Contacts] Asking Magic search for contacts matching filter [$filterValue], domain [$domain] and in sources [$sources]"
|
||||||
)
|
)
|
||||||
coreContext.contactsManager.magicSearch.getContactsListAsync(
|
coreContext.contactsManager.magicSearch.getContactsListAsync(
|
||||||
filterValue,
|
filterValue,
|
||||||
domain,
|
domain,
|
||||||
filter,
|
sources,
|
||||||
aggregation
|
aggregation
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue