removes logs
This commit is contained in:
-6
@@ -85,8 +85,6 @@ open class ChatFileUploadModel : ViewModel() {
|
|||||||
onError: (title: String, message: String) -> Unit,
|
onError: (title: String, message: String) -> Unit,
|
||||||
context: Context,
|
context: Context,
|
||||||
) {
|
) {
|
||||||
println("AABBCC uploading $account $selectedServer $chatroom $multiOrchestrator")
|
|
||||||
|
|
||||||
val myAccount = account ?: return
|
val myAccount = account ?: return
|
||||||
val mySelectedServer = selectedServer ?: return
|
val mySelectedServer = selectedServer ?: return
|
||||||
val myChatroom = chatroom ?: return
|
val myChatroom = chatroom ?: return
|
||||||
@@ -95,8 +93,6 @@ open class ChatFileUploadModel : ViewModel() {
|
|||||||
viewModelScope.launch(Dispatchers.Default) {
|
viewModelScope.launch(Dispatchers.Default) {
|
||||||
isUploadingImage = true
|
isUploadingImage = true
|
||||||
|
|
||||||
println("AABBCC uploading")
|
|
||||||
|
|
||||||
val cipher = AESGCM()
|
val cipher = AESGCM()
|
||||||
|
|
||||||
val results =
|
val results =
|
||||||
@@ -111,8 +107,6 @@ open class ChatFileUploadModel : ViewModel() {
|
|||||||
context,
|
context,
|
||||||
)
|
)
|
||||||
|
|
||||||
println("AABBCC uploading")
|
|
||||||
|
|
||||||
if (results.allGood) {
|
if (results.allGood) {
|
||||||
results.successful.forEach { state ->
|
results.successful.forEach { state ->
|
||||||
if (state.result is UploadOrchestrator.OrchestratorResult.ServerResult) {
|
if (state.result is UploadOrchestrator.OrchestratorResult.ServerResult) {
|
||||||
|
|||||||
Reference in New Issue
Block a user