Added option to use sender name when editing user name

This commit is contained in:
M66B
2021-04-13 09:00:56 +02:00
parent b76f863620
commit 77aa03d0ba
7 changed files with 2468 additions and 4 deletions

View File

@@ -226,7 +226,8 @@ public class MessageHelper {
!message.extra.equals(identity.email.split("@")[0])) {
int at = email.indexOf('@');
email = message.extra + email.substring(at);
name = null;
if (!identity.sender_extra_name)
name = null;
Log.i("extra=" + email);
}
imessage.setFrom(new InternetAddress(email, name, StandardCharsets.UTF_8.name()));