Show sent orphans

pull/153/head
M66B 6 years ago
parent ec7a442157
commit b20f62f577

@ -512,7 +512,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
view.setActivated(selectionTracker != null && selectionTracker.isSelected(message.id)); view.setActivated(selectionTracker != null && selectionTracker.isSelected(message.id));
view.setAlpha( view.setAlpha(
message.uid == null && message.uid == null &&
!EntityFolder.OUTBOX.equals(message.folderType) !(EntityFolder.OUTBOX.equals(message.folderType) && !message.ui_seen)
? Helper.LOW_LIGHT : 1.0f); ? Helper.LOW_LIGHT : 1.0f);
// Duplicate // Duplicate

@ -349,8 +349,7 @@ public class ServiceSend extends LifecycleService {
db.message().setMessageFolder(message.id, sent.id); db.message().setMessageFolder(message.id, sent.id);
message.folder = sent.id; message.folder = sent.id;
EntityOperation.queue(this, db, message, EntityOperation.ADD); EntityOperation.queue(this, db, message, EntityOperation.ADD);
} else }
db.message().setMessageUiHide(message.id, true);
if (message.inreplyto != null) { if (message.inreplyto != null) {
List<EntityMessage> replieds = db.message().getMessageByMsgId(message.account, message.inreplyto); List<EntityMessage> replieds = db.message().getMessageByMsgId(message.account, message.inreplyto);

Loading…
Cancel
Save