Skip self check for reply header

pull/199/head
M66B 4 years ago
parent 028f2cae90
commit 7e2a005893

@ -366,12 +366,8 @@ public class EntityMessage implements Serializable {
p.appendText(subject); p.appendText(subject);
p.appendElement("br"); p.appendElement("br");
} }
} else { } else
DB db = DB.getInstance(context); p.text(DF.format(new Date(received)) + " " + MessageHelper.formatAddresses(from) + ":");
List<TupleIdentityEx> identities = db.identity().getComposableIdentities(account);
boolean self = replySelf(identities, account);
p.text(DF.format(new Date(received)) + " " + MessageHelper.formatAddresses(self ? to : from) + ":");
}
if (separate) { if (separate) {
Element div = document.createElement("div"); Element div = document.createElement("div");

Loading…
Cancel
Save