mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-04 08:08:16 +02:00
Added option to use sender name when editing user name
This commit is contained in:
@@ -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()));
|
||||
|
||||
Reference in New Issue
Block a user