fix bug while downloading files (Christian Schneppe)
This commit is contained in:
parent
b586ed0975
commit
56ba900b64
1 changed files with 2 additions and 1 deletions
|
@ -1276,10 +1276,11 @@ public class MessageAdapter extends ArrayAdapter<Message> {
|
|||
} else if (transferable != null && transferable.getStatus() == Transferable.STATUS_OFFER_CHECK_FILESIZE) {
|
||||
displayDownloadableMessage(viewHolder, message, activity.getString(R.string.check_x_filesize, UIHelper.getFileDescriptionString(activity, message)), darkBackground);
|
||||
} else {
|
||||
/* todo why should we mark a file as deleted? --> causing strange side effects
|
||||
if (!activity.xmppConnectionService.getFileBackend().getFile(message).exists() && !message.isFileDeleted()) {
|
||||
markFileDeleted(message);
|
||||
displayInfoMessage(viewHolder, activity.getString(R.string.file_deleted), darkBackground, message);
|
||||
}
|
||||
}*/
|
||||
if (checkFileExistence(message, view, viewHolder)) {
|
||||
markFileExisting(message);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue