mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-07 09:33:39 +02:00
Avoid hash because there is no index
This commit is contained in:
@@ -6764,10 +6764,10 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
|
||||
db.message().setMessageNotes(message.id, notes);
|
||||
|
||||
if (TextUtils.isEmpty(message.hash))
|
||||
if (TextUtils.isEmpty(message.msgid))
|
||||
return null;
|
||||
|
||||
List<EntityMessage> messages = db.message().getMessagesByHash(message.account, message.hash);
|
||||
List<EntityMessage> messages = db.message().getMessagesByMsgId(message.account, message.msgid);
|
||||
if (messages == null)
|
||||
return null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user