Revert "Added In-reply-to multi address support"

This reverts commit c9ff506dab.
This commit is contained in:
M66B
2022-06-27 19:29:49 +02:00
parent 2d6949a0cb
commit 53d2151b77
5 changed files with 47 additions and 53 deletions

View File

@@ -5967,9 +5967,8 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
return null;
if (!TextUtils.isEmpty(message.inreplyto))
for (String inreplyto : message.inreplyto.split(" "))
for (EntityMessage m : db.message().getMessagesByMsgId(message.account, inreplyto))
map.put(m.msgid, m);
for (EntityMessage m : db.message().getMessagesByMsgId(message.account, message.inreplyto))
map.put(m.msgid, m);
if (!TextUtils.isEmpty(message.references))
for (String ref : message.references.split(" "))
@@ -5994,8 +5993,7 @@ 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);
for (String inreplyto : message.inreplyto.split(" "))
ssb.append(inreplyto).append("\n");
ssb.append(message.inreplyto).append("\n");
}
if (!TextUtils.isEmpty(message.references)) {