mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 14:46:31 +02:00
Added In-reply-to multi address support
This commit is contained in:
@@ -5944,8 +5944,9 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
return null;
|
||||
|
||||
if (!TextUtils.isEmpty(message.inreplyto))
|
||||
for (EntityMessage m : db.message().getMessagesByMsgId(message.account, message.inreplyto))
|
||||
map.put(m.msgid, m);
|
||||
for (String inreplyto : message.inreplyto.split(" "))
|
||||
for (EntityMessage m : db.message().getMessagesByMsgId(message.account, inreplyto))
|
||||
map.put(m.msgid, m);
|
||||
|
||||
if (!TextUtils.isEmpty(message.references))
|
||||
for (String ref : message.references.split(" "))
|
||||
@@ -5970,7 +5971,8 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
start = ssb.length();
|
||||
ssb.append("In-reply-to: ");
|
||||
ssb.setSpan(new StyleSpan(Typeface.BOLD), start, ssb.length(), 0);
|
||||
ssb.append(message.inreplyto).append("\n");
|
||||
for (String inreplyto : message.inreplyto.split(" "))
|
||||
ssb.append(inreplyto).append("\n");
|
||||
}
|
||||
|
||||
if (!TextUtils.isEmpty(message.references)) {
|
||||
|
||||
Reference in New Issue
Block a user