mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-24 09:42:17 -05:00
fixed regression in file delete detection due to missing !
This commit is contained in:
parent
82908fb54b
commit
58a3ef46ce
@ -1294,7 +1294,7 @@ public class XmppConnectionService extends Service {
|
||||
public void onMessageFound(Message message) {
|
||||
DownloadableFile file = fileBackend.getFile(message);
|
||||
if (file.getAbsolutePath().equals(path)) {
|
||||
if (file.exists()) {
|
||||
if (!file.exists()) {
|
||||
message.setTransferable(new TransferablePlaceholder(Transferable.STATUS_DELETED));
|
||||
final int s = message.getStatus();
|
||||
if (s == Message.STATUS_WAITING || s == Message.STATUS_OFFERED || s == Message.STATUS_UNSEND) {
|
||||
|
Loading…
Reference in New Issue
Block a user