Commit ad15a36b authored by Filipe de Lima Brito's avatar Filipe de Lima Brito

Merge branch 'develop' into new/answers-analytics

parents 66f1f89e 54b6b4ca
......@@ -387,9 +387,8 @@ class ChatRoomPresenter @Inject constructor(
val maxFileSizeAllowed = settings.uploadMaxFileSize()
when {
fileSize > maxFileSizeAllowed -> {
fileSize > maxFileSizeAllowed && maxFileSizeAllowed !in -1..0 ->
view.showInvalidFileSize(fileSize, maxFileSizeAllowed)
}
else -> {
retryIO("uploadFile($roomId, $fileName, $mimeType") {
client.uploadFile(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment