Fixed showing inline images in original messages

This commit is contained in:
M66B 2019-02-14 07:03:03 +00:00
parent 8f3eed41e3
commit 4a3e2e7e6f
1 changed files with 1 additions and 1 deletions

View File

@ -1370,7 +1370,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
try {
String src = img.attr("src");
if (src.startsWith("cid:")) {
String cid = src.substring(4);
String cid = '<' + src.substring(4) + '>';
EntityAttachment attachment = DB.getInstance(context).attachment().getAttachment(id, cid);
if (attachment != null && attachment.available) {
InputStream is = null;