Empty trash: skip local messages

pull/156/head
M66B 6 years ago
parent 75be113b33
commit cc87d33cd7

@ -617,6 +617,7 @@ public class AdapterFolder extends RecyclerView.Adapter<AdapterFolder.ViewHolder
List<Long> ids = db.message().getMessageByFolder(folder);
for (Long id : ids) {
EntityMessage message = db.message().getMessage(id);
if (message.msgid != null || message.uid != null)
EntityOperation.queue(context, message, EntityOperation.DELETE);
}

Loading…
Cancel
Save