mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-24 10:25:51 +03:00
quick cleaning
This commit is contained in:
parent
318a5a8fc1
commit
8b28e7ba54
3 changed files with 1 additions and 11 deletions
|
@ -149,7 +149,6 @@ internal class RustVerificationService @Inject constructor(
|
|||
/** Check if the start event created new verification objects and dispatch updates */
|
||||
private suspend fun onStart(event: Event) {
|
||||
if (event.unsignedData?.transactionId != null) return // remote echo
|
||||
Timber.w("VALR onStart ${event.eventId}")
|
||||
val sender = event.senderId ?: return
|
||||
val flowId = getFlowId(event) ?: return
|
||||
|
||||
|
|
|
@ -157,7 +157,7 @@ class UserVerificationViewModel @AssistedInject constructor(
|
|||
currentTransactionId == null && initialState.otherUserId == it.getRequest()?.otherUserId
|
||||
}
|
||||
.onEach {
|
||||
Timber.w("VALR update event ${it.getRequest()} ")
|
||||
// Timber.w("VALR update event ${it.getRequest()} ")
|
||||
it.getRequest()?.let {
|
||||
// Timber.w("VALR state updated request to $it")
|
||||
setState {
|
||||
|
@ -167,7 +167,6 @@ class UserVerificationViewModel @AssistedInject constructor(
|
|||
}
|
||||
}
|
||||
it.getTransaction()?.let {
|
||||
Timber.w("VALR state updated transaction to $it")
|
||||
val dClass = it.toDataClass()
|
||||
if (dClass != null) {
|
||||
setState {
|
||||
|
|
|
@ -138,15 +138,7 @@ class DevicesViewModel @AssistedInject constructor(
|
|||
}
|
||||
.launchIn(viewModelScope)
|
||||
}
|
||||
session.flow().liveUserCryptoDevices(session.myUserId)
|
||||
.onEach {
|
||||
Timber.w("#VALR liveUserCryptoDevices: $it")
|
||||
}
|
||||
|
||||
// session.flow().liveMyDevicesInfo()
|
||||
// .onEach {
|
||||
// Timber.w("#VALR liveMyDevicesInfo: $it")
|
||||
// }.launchIn(viewModelScope)
|
||||
combine(
|
||||
session.flow().liveUserCryptoDevices(session.myUserId),
|
||||
session.flow().liveMyDevicesInfo()
|
||||
|
|
Loading…
Reference in a new issue