mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-22 17:35:54 +03:00
refreshing the threePids when entering the preference screen, afterwards we're monitoring for changes
This commit is contained in:
parent
1c1424eafc
commit
bd51eae741
1 changed files with 1 additions and 1 deletions
|
@ -406,7 +406,7 @@ private fun Session.getEmailsWithPushInformation(): List<Pair<ThreePid.Email, Bo
|
|||
}
|
||||
|
||||
private fun Session.getEmailsWithPushInformationLive(): LiveData<List<Pair<ThreePid.Email, Boolean>>> {
|
||||
return getThreePidsLive(refreshData = false)
|
||||
return getThreePidsLive(refreshData = true)
|
||||
.distinctUntilChanged()
|
||||
.map { threePids ->
|
||||
val emailPushers = getPushers().filter { it.kind == Pusher.KIND_EMAIL }
|
||||
|
|
Loading…
Reference in a new issue