mirror of
https://codeberg.org/monocles/monocles_chat.git
synced 2025-01-30 16:51:42 +01:00
fix bug while downloading files (Christian Schneppe)
This commit is contained in:
parent
b46592b215
commit
576a98a92c
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