Added logs

This commit is contained in:
Sylvain Berfini 2022-07-25 10:18:20 +02:00
parent 59a7771ea1
commit f24f3f2c85
2 changed files with 5 additions and 1 deletions

View file

@ -185,7 +185,11 @@ class ChatMessageContentData(
if (!chatMessage.downloadContent(content)) {
Log.e("[Content] Failed to start content download!")
}
} else {
Log.e("[Content] Content name is null, can't download it!")
}
} else {
Log.e("[Content] Either content is not a FileTransfer or it's filePath has already been set, can't download it anyway!")
}
}

View file

@ -234,7 +234,7 @@ class ControlsViewModel : ViewModel() {
if (currentCall != null) {
coreContext.answerCall(currentCall)
} else {
Log.e("[Controls] Cant't find any current call to answer")
Log.e("[Controls] Can't find any current call to answer")
}
}