1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-21 23:32:51 +00:00

Similar account

This commit is contained in:
M66B 2024-12-01 12:03:42 +01:00
parent 22d4c24804
commit 1e8c119170

View file

@ -299,7 +299,8 @@ class Core {
account.protocol == EntityAccount.TYPE_IMAP) {
JSONArray jnext = new JSONArray(next.args);
// Same target
if (jargs.getLong(0) == jnext.getLong(0) &&
if (Objects.equals(op.account, next.account) &&
jargs.getLong(0) == jnext.getLong(0) &&
jargs.optBoolean(4) == jnext.optBoolean(4)) {
EntityMessage m = db.message().getMessage(next.message);
if (m != null && m.uid != null)